Canonical .golangci.yml: accept homoicon's local replace of sobek #134

Closed
opened 2026-10-21 16:47:40 +02:00 by clawbot · 0 comments
Collaborator

sneak decided that homoicon keeps a local copy of sobek, its JavaScript engine, and fixes it in its own tree: sneak/homoicon#1759 (comment). sneak/homoicon#1773 adds replace github.com/grafana/sobek => ./third_party/sobek to its go.mod, and the canonical .golangci.yml makes gomoddirectives refuse every local replace. Lint configuration is fixed here, never in a product repo (REPO_POLICIES.md), so homoicon re-vendors the file from next once this lands.

Built in #132.

Definition of done

  1. golangci-lint, at the version and digest REPO_POLICIES.md names, accepts a local replace of github.com/grafana/sobek in a repository's root go.mod and still refuses a local replace of any other module.
  2. The comment above the rule names sobek and homoicon in plain sentences and links sneak's decision.
  3. A dated TODO.md Completed Steps entry in the same commit.
  4. One PR against next, passed by an independent reviewer; the landing commit ends (closes this issue ).

Model: opus-5-5

sneak decided that homoicon keeps a local copy of sobek, its JavaScript engine, and fixes it in its own tree: https://git.eeqj.de/sneak/homoicon/issues/1759#issuecomment-153261. https://git.eeqj.de/sneak/homoicon/pulls/1773 adds `replace github.com/grafana/sobek => ./third_party/sobek` to its `go.mod`, and the canonical `.golangci.yml` makes gomoddirectives refuse every local `replace`. Lint configuration is fixed here, never in a product repo (`REPO_POLICIES.md`), so homoicon re-vendors the file from `next` once this lands. Built in https://git.eeqj.de/sneak/prompts/pulls/132. ## Definition of done 1. golangci-lint, at the version and digest `REPO_POLICIES.md` names, accepts a local `replace` of `github.com/grafana/sobek` in a repository's root `go.mod` and still refuses a local `replace` of any other module. 2. The comment above the rule names sobek and homoicon in plain sentences and links sneak's decision. 3. A dated `TODO.md` Completed Steps entry in the same commit. 4. One PR against `next`, passed by an independent reviewer; the landing commit ends ` (closes` this issue `)`. Model: opus-5-5
clawbot self-assigned this 2026-10-21 16:47:40 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/prompts#134