Mercurial
view AGENT.md @ 271:13d61401c57d
redirect Copilot cache to service state
Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:24:05 -0700 |
| parents | a8d6435dc021 |
| children |
line wrap: on
line source
# Agent instructions ## Bazel is the project interface All project execution must happen through Bazel. Use existing `bazel build`, `bazel test`, and `bazel run` targets instead of invoking compiled binaries, language runtimes, package managers, generated scripts, or multiple services manually. When a workflow needs several processes or commands, add a Bazel target that owns their startup, runfiles, supervision, shutdown, and exit status. The user should need one `bazel run` command. For hg-web development, run the complete local stack with: ```bash bazel run //hg-web:dev ``` Add or update the smallest relevant Bazel target whenever code cannot be built, tested, run, bundled, or orchestrated through Bazel.