internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT

Directories

Path Synopsis
Package app is the composition root: wires the CLI tree together and exposes the Run entrypoint used by cmd/gauntlet/main.go.
Package app is the composition root: wires the CLI tree together and exposes the Run entrypoint used by cmd/gauntlet/main.go.
Package build carries version information injected at link time via -ldflags.
Package build carries version information injected at link time via -ldflags.
Package cli builds the top-level urfave/cli/v3 command tree.
Package cli builds the top-level urfave/cli/v3 command tree.
Package config loads .gauntlet.yml.
Package config loads .gauntlet.yml.
Package doctor runs a set of preflight checks: git state, stack detection, config validity, tool availability.
Package doctor runs a set of preflight checks: git state, stack detection, config validity, tool availability.
Package domain holds the shared types every layer speaks: findings, gate results, verdicts.
Package domain holds the shared types every layer speaks: findings, gate results, verdicts.
Package engine orchestrates gate execution and applies diff scoping.
Package engine orchestrates gate execution and applies diff scoping.
Package gates defines the Gate contract every tool wrapper implements.
Package gates defines the Gate contract every tool wrapper implements.
customgate
Package customgate implements a generic Gate that runs an arbitrary command and parses its output via a built-in parser kind.
Package customgate implements a generic Gate that runs an arbitrary command and parses its output via a built-in parser kind.
eslint
Package eslint wraps `<pm exec> eslint --format json .`.
Package eslint wraps `<pm exec> eslint --format json .`.
gobuild
Package gobuild wraps `go build ./...`.
Package gobuild wraps `go build ./...`.
gofumpt
Package gofumpt wraps `gofumpt -l` as a gauntlet gate.
Package gofumpt wraps `gofumpt -l` as a gauntlet gate.
golangci
Package golangci wraps `golangci-lint run --out-format json`.
Package golangci wraps `golangci-lint run --out-format json`.
gotest
Package gotest wraps `go test -json -race ./...`.
Package gotest wraps `go test -json -race ./...`.
govet
Package govet wraps `go vet ./...`.
Package govet wraps `go vet ./...`.
jslint
Package jslint holds the shared ESLint-style JSON parser used by both the eslint and oxlint gates — they emit the same array-of-file-results shape.
Package jslint holds the shared ESLint-style JSON parser used by both the eslint and oxlint gates — they emit the same array-of-file-results shape.
oxlint
Package oxlint wraps oxlint as a gauntlet gate.
Package oxlint wraps oxlint as a gauntlet gate.
prettier
Package prettier wraps `<pm> exec prettier --check --list-different .`.
Package prettier wraps `<pm> exec prettier --check --list-different .`.
tsbuild
Package tsbuild runs the repo's `build` script (`<pm> run build`).
Package tsbuild runs the repo's `build` script (`<pm> run build`).
tsc
Package tsc wraps `<pm exec> tsc --noEmit --pretty false`.
Package tsc wraps `<pm exec> tsc --noEmit --pretty false`.
vitest
Package vitest wraps `<pm exec> vitest run --reporter=json`.
Package vitest wraps `<pm exec> vitest run --reporter=json`.
Package gitdiff shells out to system git to compute which lines in which files a change touches.
Package gitdiff shells out to system git to compute which lines in which files a change touches.
Package logging configures the process-wide zerolog logger.
Package logging configures the process-wide zerolog logger.
Package nodepm detects which Node package manager governs a repo (pnpm, yarn, npm) from its lockfile.
Package nodepm detects which Node package manager governs a repo (pnpm, yarn, npm) from its lockfile.
Package report renders a Verdict into one of three formats: human (TTY table), agent (verdict-first, compact, machine-scannable), or json (versioned stable schema).
Package report renders a Verdict into one of three formats: human (TTY table), agent (verdict-first, compact, machine-scannable), or json (versioned stable schema).
Package stack maps a repo root to the ordered gate list that should run in it.
Package stack maps a repo root to the ordered gate list that should run in it.

Jump to

Keyboard shortcuts

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