Reconcile script/* with golangci-lint v2.12.2 and gate docker build on make check (closes #27) #28

Closed
clawbot wants to merge 4 commits from merge/next-to-main-1.1.0 into main
4 Commits
Author SHA1 Message Date
user e9f2a6baf9 Dockerfile: run make check so the image build gates on all checks
check / check (push) Successful in 16s
check / check (pull_request) Successful in 15s
The lint stage ran make fmt-check and make lint as separate steps and a
second stage ran make test, so script/check was never exercised by the
container gate. Collapse the verification into a single check stage that
runs make check, and add a build stage that depends on it so
docker build . runs the full suite and then builds.

Reorder script/check to fmt-check, lint, test so the cheap checks fail
first.

Both FROM lines remain digest-pinned.
2026-09-05 01:31:26 +00:00
clawbot 9c59619478 Merge branch 'next' into merge/next-to-main-1.1.0 for 1.1.0
check / check (push) Successful in 19s
Brings the scripts-to-rule-them-all scaffold from `next` (script/
entrypoints, Makefile shims, .gitea/workflows/check.yml, vendored
REPO_POLICIES.md) onto `main`, which meanwhile moved to golangci-lint
v2.12.2 with the canonical config.

Only TODO.md conflicted: both sides prepended an entry to Completed
Steps. Kept both in reverse-chronological order and normalized the
`next` entry to the file's `*` bullet style.

.golangci.yml is unchanged from `main`.

Reconciling script/lint, script/fmt-check and script/check with
golangci-lint v2.12.2 is deliberately left to phase 2.

Part of #26
2026-09-04 21:40:51 +00:00
sneak ac3031a547 Add vendored REPO_POLICIES.md from prompts repo
check / check (push) Successful in 21s
2026-07-07 01:55:33 +02:00
sneak 5cb4f827d2 Adopt scripts-to-rule-them-all: script/ entrypoints, Makefile shims 2026-07-07 01:54:40 +02:00