Skip to content

chore(inspect): remove undocumented static-analysis files duplicating sight#28

Merged
Patel230 merged 1 commit into
mainfrom
chore/inspect-remove-dead-static-analysis
Jul 15, 2026
Merged

chore(inspect): remove undocumented static-analysis files duplicating sight#28
Patel230 merged 1 commit into
mainfrom
chore/inspect-remove-dead-static-analysis

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

Removes undocumented static-analysis files that duplicated sight scope.

Verification

  • go build ./..., go test ./... pass

…'s scope

dependency_check.go, symbol_search.go, api_security.go, sbom.go, and
archive.go all performed source/manifest-level static analysis — exactly
what this repo's own README says belongs to sight ("Source diff review,
code conventions, and repository static analysis belong to sight... do not
import other engines"). Confirmed unreachable from both the CLI (none
exists) and the MCP server (mcp/server.go only wires inspect_scan/
inspect_scan_dir to the website-crawling Scanner) — dead code, not just
undocumented. dependency_check.go additionally hardcoded ~33 CVEs with no
live-feed mechanism, which would have gone stale silently.

Also removes ConvertArchiveToEntries from findings_store.go — the only
caller of the now-deleted Archive type, and itself only ever called from
its own test.
@Patel230
Patel230 merged commit e086847 into main Jul 15, 2026
11 checks passed
@Patel230
Patel230 deleted the chore/inspect-remove-dead-static-analysis branch July 15, 2026 19:04
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