Documentation Index
Fetch the complete documentation index at: https://gump.build/docs/llms.txt
Use this file to discover all available pages before exploring further.
Gates
Gates are checks that run after a step completes. They can be deterministic (your project’s build tools) or non-deterministic (a workflow validator backed by an agent).Declaring gates
Built-in gates
Shell aliases
These resolve automatically based on your project type, or you can override them ingump.toml.
| Gate | Go | Node | Rust |
|---|---|---|---|
compile | go build ./... | npm run build | cargo build |
test | go test ./... | npm test | cargo test |
lint | golangci-lint run | npm run lint | cargo clippy |
coverage: N | go test -cover | npm test -- --coverage | cargo tarpaulin |
gump.toml → inline bash: gate.
compile and test are required — they fail if they can’t be resolved. lint and coverage are optional — skipped with a warning if the tool isn’t available.
Structural gates
| Gate | What it checks |
|---|---|
schema | The split output is valid JSON: array of tasks with name and description |
touched: "glob" | At least one file matching the glob was modified in the diff |
untouched: "glob" | No file matching the glob was modified in the diff |
tests_found | The test runner finds and recognizes tests to execute |
coverage: N | Test coverage meets or exceeds N% (optional — skipped if tool absent) |
"*_test.*" matches pkg/auth/middleware_test.go.
Custom gates
Workflow validators
A workflow withtype: validate (output = bool) can be used as a gate. This is how agent-backed reviews work in v0.0.4:
{gate.review.comments} on retry. See Workflow Composition for details.
Combining gates
Gates are a list. Use as many as you need:Overriding detection
If auto-detection picks the wrong commands, override ingump.toml: