# heph > Build once. Trust the cache. This file contains links to documentation sections following the llmstxt.org standard. ## Table of Contents - [Approval gates](https://hephbuild.github.io/docs/concepts/approval.md): Require explicit user confirmation before a target executes — useful for deploys and other irreversible actions. - [Builtin tools](https://hephbuild.github.io/docs/concepts/builtin-tools.md): The POSIX utilities heph ships in its own binary, so a recipe behaves the same on Linux and macOS. - [Caching](https://hephbuild.github.io/docs/concepts/caching.md): How heph turns input hashes into cache hits, and how to control and clean the cache. - [Codegen](https://hephbuild.github.io/docs/concepts/codegen.md): How codegen targets write generated outputs back into your source tree, and when to copy vs. rewrite in place. - [Credentials](https://hephbuild.github.io/docs/concepts/credentials.md): Declare an identity a build needs as a target, and let heph obtain it from whatever environment the build is running in. - [Deferred values](https://hephbuild.github.io/docs/concepts/deferred-values.md): Reference another target's output inside a driver option, resolved once that target has run. - [Dependencies](https://hephbuild.github.io/docs/concepts/dependencies.md): How targets reference each other to form the build graph, and how outputs flow along the edges. - [Reproducibility](https://hephbuild.github.io/docs/concepts/reproducibility.md): What byte-identical outputs guarantee, and how heph gets there. - [Resources](https://hephbuild.github.io/docs/concepts/resources.md): Declare what a target costs to run — CPUs, memory, or any limited thing — so heph runs as much in parallel as fits. - [Runners](https://hephbuild.github.io/docs/concepts/runners.md): Run a target's command inside a described environment — a devenv shell, a container — instead of on the bare host. - [Sandbox](https://hephbuild.github.io/docs/concepts/sandbox.md): The isolated directory a target runs in, why isolation matters, and how to inspect it. - [Scratch caches](https://hephbuild.github.io/docs/concepts/scratch.md): A named, mutable cache directory a target keeps between runs — for a compiler cache, a download cache, or any tool that maintains its own cache. - [Targets & rules](https://hephbuild.github.io/docs/concepts/targets.md): How heph models a build as a graph of content-addressed targets. - [Getting started](https://hephbuild.github.io/docs/getting-started.md): Install heph and write your first .hephconfig. - [Checking BUILD files](https://hephbuild.github.io/docs/guides/checking-build-files.md): Typecheck and format-check BUILD files with the build-lint-check, build-format-check and build-format targets every package gets. - [Using heph in CI](https://hephbuild.github.io/docs/guides/ci.md): Run builds in CI with stable output, codegen checks, and a warm cache. - [Claude Code plugin](https://hephbuild.github.io/docs/guides/claude-code-plugin.md): Install the heph-expert plugin to make Claude Code an expert on your heph workspace. - [Consuming build outputs](https://hephbuild.github.io/docs/guides/consuming-outputs.md): List, print, or copy a target's artifacts after running it. - [Editor setup](https://hephbuild.github.io/docs/guides/editor-setup.md): Connect your editor to heph's language server for BUILD files, and to the .hephconfig schema for config validation. - [Entrypoints](https://hephbuild.github.io/docs/guides/entrypoints.md): Run a tool from your workspace in your own terminal, with its dependencies built first. - [Failed targets](https://hephbuild.github.io/docs/guides/failure-outputs.md): Keep traces, screenshots and reports from a failed target, keep a fixer's fixes when it fails, and find them afterwards. - [Your first build](https://hephbuild.github.io/docs/guides/first-build.md): Go from an empty repo to a cached build wiring a dependency and a tool. - [Formatting BUILD files](https://hephbuild.github.io/docs/guides/formatting-build-files.md): Use heph tool build-fmt to keep BUILD files consistently formatted across the workspace. - [Inspecting builds](https://hephbuild.github.io/docs/guides/inspecting-builds.md): Use heph inspect to answer why a target rebuilt, what it depends on, and what a provider produced. - [Matrices](https://hephbuild.github.io/docs/guides/matrices.md): Declare many variants of a target — one per platform, version or flag set — from one heph.core.matrix() call. - [Remote cache](https://hephbuild.github.io/docs/guides/remote-cache.md): Share build artifacts across machines with a remote cache backed by S3, GCS, Azure, or any HTTP object store. - [Watching running builds](https://hephbuild.github.io/docs/guides/sessions.md): List the heph runs going on in other terminals, see what one is stuck on, and follow it live. - [Validating your workspace](https://hephbuild.github.io/docs/guides/validate.md): Use heph validate to catch broken targets, overlapping codegen outputs, and a stale .gitignore before they reach CI. - [Introduction](https://hephbuild.github.io/docs/intro.md): What heph is, and why builds become fast, reproducible and trustworthy. - [Archive](https://hephbuild.github.io/docs/plugins/archive.md): Unpack an archive into a directory, or pack target outputs into a reproducible archive, without a shell. - [Buildfile](https://hephbuild.github.io/docs/plugins/buildfile.md): Package provider that scans the workspace for Starlark BUILD files and parses target definitions from them. - [Devenv](https://hephbuild.github.io/docs/plugins/devenv.md): Describes a devenv shell environment other targets can run inside. - [Exec](https://hephbuild.github.io/docs/plugins/exec.md): Execution drivers for running shell commands in sandboxed target builds. - [Filesystem](https://hephbuild.github.io/docs/plugins/fs.md): Reference files and directories from the workspace filesystem. - [GitHub Actions](https://hephbuild.github.io/docs/plugins/gha.md): Live build-status PR comments and step summaries for GitHub Actions. - [Go](https://hephbuild.github.io/docs/plugins/go.md): Go language support — analyze packages and generate library, binary, and test targets. - [Group](https://hephbuild.github.io/docs/plugins/group.md): Bundle targets under one address, or re-export their outputs filtered and relocated to new paths. - [Hostbin](https://hephbuild.github.io/docs/plugins/hostbin.md): Wraps host system binaries as heph targets via generated wrapper scripts. - [HTTP Fetch](https://hephbuild.github.io/docs/plugins/http-fetch.md): Downloads a URL into a cacheable file output, with an address-templated URL and optional checksum verification. - [Plugins](https://hephbuild.github.io/docs/plugins/plugins.md): The plugins that supply heph's functionality — the drivers targets execute through, the providers that discover them, and the hooks that observe bu... - [Nix](https://hephbuild.github.io/docs/plugins/nix.md): Builds reproducible shell environments with Nix and exposes their programs as tool binaries. - [OCI](https://hephbuild.github.io/docs/plugins/oci.md): Build, assemble, pull, push, and load OCI/Docker container images — with or without a Dockerfile, with or without a daemon. - [Query](https://hephbuild.github.io/docs/plugins/query.md): Dynamic target selection with a composable query language — boolean operators, label/package predicates, and the query() BUILD-file builtin. - [Template](https://hephbuild.github.io/docs/plugins/template.md): Render a template file with declared variables into a cacheable output, without a shell. - [Textfile](https://hephbuild.github.io/docs/plugins/textfile.md): Generate text files from inline content, optionally marked executable. - [Addresses](https://hephbuild.github.io/docs/reference/addresses.md): How targets are named — package, name, output-group selector, and the built-in @heph packages. - [CLI reference](https://hephbuild.github.io/docs/reference/cli.md): The heph commands you'll use daily. - [Configuration](https://hephbuild.github.io/docs/reference/configuration.md): Every key in .hephconfig — registering plugins and tuning the engine.