fix: untrack go.work, gate experimental skeleton, pin gofumpt, harden security.yml#53
Merged
Merged
Conversation
… security.yml - Untracked go.work/go.work.sum (git rm --cached) and gitignored them (each dev creates their own; the committed file pointed a replace at ../hawk). - Moved the documented OllamaScorer skeleton behind a //go:build experimental_ollama tag so v0.1.0 ships only finished code (HeuristicPerplexityScorer remains the default). - CI: pinned gofumpt v0.7.0 -> v0.10.0 and reformatted the 2 affected files; pinned the unpinned CodeQL/dependency-review actions in security.yml to commit SHAs; removed a stale quality.yml comment. - README: Go badge 1.22+ -> 1.26+. Verified: go build/vet/test pass (with and without the experimental tag); gofumpt clean; golangci-lint 0 issues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Production-readiness audit fixes
go.work/go.work.sum(git rm --cached) and gitignore them. Each developer creates their own workspace file; the committed one pinned areplaceat../hawk, which broke standalone builds.//go:build experimental_ollamatag so v0.1.0 ships only finished code.HeuristicPerplexityScorerremains the default.v0.7.0->v0.10.0and reformatted the 2 affected files.security.ymlto commit SHAs.quality.ymlcomment.1.22+->1.26+.Verification
go build/vet/testpass (with and without the experimental tag); gofumpt clean; golangci-lint reports 0 issues.