Skip to content

fix: untrack go.work, gate experimental skeleton, pin gofumpt, harden security.yml#53

Merged
Patel230 merged 2 commits into
mainfrom
fix/production-readiness-audit
Jun 9, 2026
Merged

fix: untrack go.work, gate experimental skeleton, pin gofumpt, harden security.yml#53
Patel230 merged 2 commits into
mainfrom
fix/production-readiness-audit

Conversation

@Patel230

@Patel230 Patel230 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Production-readiness audit fixes

  • Untrack go.work / go.work.sum (git rm --cached) and gitignore them. Each developer creates their own workspace file; the committed one pinned a replace at ../hawk, which broke standalone builds.
  • Gate the experimental Ollama scorer behind a //go:build experimental_ollama tag so v0.1.0 ships only finished code. HeuristicPerplexityScorer remains the default.
  • CI hardening:
    • Pinned gofumpt v0.7.0 -> v0.10.0 and reformatted the 2 affected files.
    • Pinned the previously-unpinned CodeQL / dependency-review actions in security.yml to commit SHAs.
    • Removed a stale quality.yml comment.
  • README: Go badge 1.22+ -> 1.26+.

Verification

go build / vet / test pass (with and without the experimental tag); gofumpt clean; golangci-lint reports 0 issues.

Patel230 added 2 commits June 9, 2026 11:56
… 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.
@Patel230 Patel230 merged commit f539457 into main Jun 9, 2026
20 checks passed
@Patel230 Patel230 deleted the fix/production-readiness-audit branch June 9, 2026 11: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