Lint's .golangci.yml check says which fix applies (closes #34) #93

Merged
clawbot merged 1 commits from issue-34-golangci-drift-message into next 2026-10-03 17:14:27 +02:00
1 Commits
Author SHA1 Message Date
sneak 68c5325da3 Lint's .golangci.yml check says which fix applies (closes #34)
check / check (push) Successful in 1m59s
backend/script/lint compared .golangci.yml with its pinned sha256 and,
on any failure, said to restore the file from sneak/prompts. Once the
org standard has legitimately changed, that advice loops: the copied
file is right and GOLANGCI_CONFIG_SHA256 is stale. On a mismatch the
script now says to compare the file with the org standard, restore it
if they differ, and update GOLANGCI_CONFIG_SHA256 if they are the same;
it still prints both hashes. A missing .golangci.yml, and a sha256sum
that is missing or prints no hash, get their own messages instead of
being reported as a mismatch. Each failure still exits 1. .golangci.yml
is unchanged.

Model: opus-5-5
2026-10-03 14:46:07 +00:00