Skip to content

docs: drop dead spec-section pointers from public files + code comments#24

Merged
cicdteam merged 1 commit into
mainfrom
cleanup-spec-references
May 23, 2026
Merged

docs: drop dead spec-section pointers from public files + code comments#24
cicdteam merged 1 commit into
mainfrom
cleanup-spec-references

Conversation

@cicdteam

Copy link
Copy Markdown
Contributor

Summary

The design spec lives under .claude/docs/superpowers/specs/, which is gitignored. Citations like spec §5.5 or (§6.3) are dead pointers for anyone reading the codebase outside the original author's local workstation. Replaced each with the concrete concept the section described.

Touched

  • README.md:159 - "spec §5.5" -> "envelope (target, overview, findings, warnings)"
  • internal/output/json/json.go - "§5.5 schema" -> explicit field list
  • internal/cli/render.go - "§5.5 envelope" -> "Report envelope"
  • internal/findings/severity.go - "JSON schema in the spec (§5.5)" -> "lower-case string (critical|high|medium|low) for the public JSON wire form"
  • internal/analyzers/labelpattern/patterns.go - "spec (§6.3)" -> "high-cardinality label-name patterns the analyzer flags by default"

No behavior change; comment-only.

Test plan

  • go test ./... -count=1 (all pass)
  • make fmt vet lint vuln (clean)
  • grep -rn "spec\.md\|spec §\|§[0-9]" docs/ README.md mkdocs.yml internal/ cmd/ returns zero matches

The design spec lives under .claude/docs/superpowers/specs/, which is
gitignored. Citations like "see spec §5.5" or "(§6.3)" are dead pointers
for anyone reading the codebase outside the original author's local
workstation. Replaced each with the concrete concept the section
described:

- README.md:159 - "spec §5.5" -> "envelope (target, overview, findings,
  warnings)"
- internal/output/json/json.go - "§5.5 schema" -> explicit field list
- internal/cli/render.go - "§5.5 envelope" -> "Report envelope"
- internal/findings/severity.go - "JSON schema in the spec (§5.5)" ->
  "lower-case string (critical|high|medium|low) for the public JSON
  wire form"
- internal/analyzers/labelpattern/patterns.go - "spec (§6.3)" ->
  "high-cardinality label-name patterns the analyzer flags by default"

No behavior change; comment-only.
@cicdteam cicdteam merged commit d52cfd7 into main May 23, 2026
4 checks passed
@cicdteam cicdteam deleted the cleanup-spec-references branch May 23, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant