tools/

directory
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Command coveragegate implements the coverage ratchet: it parses Go and web coverage profiles, aggregates them into the scopes listed in `scopes` below, and compares each scope's current statement coverage against coverage/ratchet.json.
Command coveragegate implements the coverage ratchet: it parses Go and web coverage profiles, aggregates them into the scopes listed in `scopes` below, and compares each scope's current statement coverage against coverage/ratchet.json.
Package licensecheck implements the SPDX header sweep: every first-party source file (Go, TS/TSX, SQL, shell) must carry a `SPDX-License-Identifier: <id>` line matching its directory's license, per LICENSING.md's path->license map.
Package licensecheck implements the SPDX header sweep: every first-party source file (Go, TS/TSX, SQL, shell) must carry a `SPDX-License-Identifier: <id>` line matching its directory's license, per LICENSING.md's path->license map.
cmd command
Command licensecheck is `make license-check`'s SPDX header verifier: walks the repo from the current working directory (expected to be the repo root — the Makefile invokes it that way), checks every first-party Go/TS/TSX/SQL/shell file against tools/licensecheck's zone rules, and fails loudly (exit 1) listing every file missing its header.
Command licensecheck is `make license-check`'s SPDX header verifier: walks the repo from the current working directory (expected to be the repo root — the Makefile invokes it that way), checks every first-party Go/TS/TSX/SQL/shell file against tools/licensecheck's zone rules, and fails loudly (exit 1) listing every file missing its header.
Package ratchetguard implements the mechanical never-decrease check for coverage/ratchet.json (minimums may only ever increase, never decrease).
Package ratchetguard implements the mechanical never-decrease check for coverage/ratchet.json (minimums may only ever increase, never decrease).
cmd command
Command ratchetguard fails (exit 1) if any coverage/ratchet.json scope's "min" was lowered or any scope was removed — the comparison itself lives in tools/ratchetguard (unit-tested there without any git dependency).
Command ratchetguard fails (exit 1) if any coverage/ratchet.json scope's "min" was lowered or any scope was removed — the comparison itself lives in tools/ratchetguard (unit-tested there without any git dependency).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL