From fbdc5ded8828fc3cba241834dade90229868095d Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 9 Mar 2026 16:24:20 +0100 Subject: [PATCH] AGENTS.md: Tell agents to use mkosi box for running commands mkosi box will run in the tools tree if there is one which is guaranteed to contain basic tools. --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index e69b25a076..9befc01a59 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,6 +12,10 @@ Always consult these files as needed: - `docs/CODING_STYLE.md` — full style guide (must-read before writing code) - `docs/CONTRIBUTING.md` — contribution guidelines and PR workflow +## Running arbitrary commands + +- Always run arbitrary commands with the `mkosi box -- ` wrapper command. This runs in an environment where more tools are available. + ## Build and Test Commands - Never compile individual files or targets. Always run `mkosi -f box -- meson compile -C build` to build