Skip to content

Adopt Go-TOPS: a gate job beside check - #24

Merged
VirtualMachinist merged 2 commits into
mainfrom
go-tops/adopt
Nov 19, 2026
Merged

VirtualMachinist merged 2 commits into
mainfrom
go-tops/adopt

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Member

Adopt Go-TOPS: a gate job beside check, class binary-service.

This adds the Go-TOPS gate under enforce: ratchet. vigil's own check job, .golangci.yml, ci.yml, go.mod and go.sum are unchanged, and check (ubuntu-latest) and check (macos-latest) stay the required checks.

  • go-tops.yaml and go-tops.lock; tools/go.mod and tools/go.sum pin gotops at v0.0.0-20261119162302-608716388245, a pseudo-version of go-tops main (no tag, no replace).
  • .github/workflows/go-tops.yml: the gate job with ubuntu, macOS and floor legs, under its own name and concurrency group.
  • .go-tops/golangci.yml: the lint rules the gate reads. The repository's own .golangci.yml is not read by the gate.
  • GO-TOPS.md, the AGENTS.md block, justfile, CODEOWNERS and a marked .gitignore block.

The first ledger. No ledger is committed yet. On this pull request the ubuntu leg (the ledger leg) finds that a first ledger is due, writes it on its own build, uploads it as the go-tops-baseline artifact, and fails the run on purpose. The ledger is then committed unchanged in the next commit, and the next run judges the ratchet against it. The ledger records vigil's current debt under the kit's rules; it can only be lowered.

Not in this PR: making gate a required check. That is a ruleset change, considered after two weeks of green runs.

Merged with a merge commit.

🤖 Generated with Claude Code

Adds the Go-TOPS gate to vigil under enforce: ratchet. The check job,
.golangci.yml, ci.yml, go.mod and go.sum are unchanged.

- go-tops.yaml and go-tops.lock; tools/go.mod and tools/go.sum pin gotops
  at v0.0.0-20261119162302-608716388245, a pseudo-version of go-tops main
  (no tag, no replace).
- .github/workflows/go-tops.yml: the gate job with ubuntu, macos and floor
  legs, its own name and concurrency group.
- .go-tops/golangci.yml: the lint rules the gate reads; the repository's own
  .golangci.yml is not read by the gate and is not changed.
- GO-TOPS.md, the AGENTS.md block, justfile, a CODEOWNERS fragment and
  .gitignore lines.

No ledger is committed. The ubuntu leg writes the first one on this pull
request and uploads it as the go-tops-baseline artifact; it is committed
unchanged in the next commit.
The ledger is the go-tops-baseline artifact of the first pull request run,
committed byte for byte. It was written by the ledger leg (the ubuntu leg of
the gate job) on its own build: linux/amd64, cgo on, no tags.

It records 8 functions over the CRAP cap of 10, no package under the 75%
statement floor, 64 lint findings under the Go-TOPS lint rules in 15 files, and
no suppressions or exemptions.
@VirtualMachinist
VirtualMachinist merged commit 8bb786c into main Nov 19, 2026
5 checks passed
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