Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gauntlet
command
gauntlet — unified quality-gate runner with diff-scoped, verdict-first output.
|
gauntlet — unified quality-gate runner with diff-scoped, verdict-first output. |
|
internal
|
|
|
app
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. |
|
build
Package build carries version information injected at link time via -ldflags.
|
Package build carries version information injected at link time via -ldflags. |
|
cli
Package cli builds the top-level urfave/cli/v3 command tree.
|
Package cli builds the top-level urfave/cli/v3 command tree. |
|
config
Package config loads .gauntlet.yml.
|
Package config loads .gauntlet.yml. |
|
doctor
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. |
|
domain
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. |
|
engine
Package engine orchestrates gate execution and applies diff scoping.
|
Package engine orchestrates gate execution and applies diff scoping. |
|
gates
Package gates defines the Gate contract every tool wrapper implements.
|
Package gates defines the Gate contract every tool wrapper implements. |
|
gates/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. |
|
gates/eslint
Package eslint wraps `<pm exec> eslint --format json .`.
|
Package eslint wraps `<pm exec> eslint --format json .`. |
|
gates/gobuild
Package gobuild wraps `go build ./...`.
|
Package gobuild wraps `go build ./...`. |
|
gates/gofumpt
Package gofumpt wraps `gofumpt -l` as a gauntlet gate.
|
Package gofumpt wraps `gofumpt -l` as a gauntlet gate. |
|
gates/golangci
Package golangci wraps `golangci-lint run --out-format json`.
|
Package golangci wraps `golangci-lint run --out-format json`. |
|
gates/gotest
Package gotest wraps `go test -json -race ./...`.
|
Package gotest wraps `go test -json -race ./...`. |
|
gates/govet
Package govet wraps `go vet ./...`.
|
Package govet wraps `go vet ./...`. |
|
gates/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. |
|
gates/oxlint
Package oxlint wraps oxlint as a gauntlet gate.
|
Package oxlint wraps oxlint as a gauntlet gate. |
|
gates/prettier
Package prettier wraps `<pm> exec prettier --check --list-different .`.
|
Package prettier wraps `<pm> exec prettier --check --list-different .`. |
|
gates/tsbuild
Package tsbuild runs the repo's `build` script (`<pm> run build`).
|
Package tsbuild runs the repo's `build` script (`<pm> run build`). |
|
gates/tsc
Package tsc wraps `<pm exec> tsc --noEmit --pretty false`.
|
Package tsc wraps `<pm exec> tsc --noEmit --pretty false`. |
|
gates/vitest
Package vitest wraps `<pm exec> vitest run --reporter=json`.
|
Package vitest wraps `<pm exec> vitest run --reporter=json`. |
|
gitdiff
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. |
|
logging
Package logging configures the process-wide zerolog logger.
|
Package logging configures the process-wide zerolog logger. |
|
nodepm
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. |
|
report
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). |
|
stack
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. |
Click to show internal directories.
Click to hide internal directories.