From 24c8b3f1a66680250da1558294d8969425698944 Mon Sep 17 00:00:00 2001 From: Evan Parker Date: Tue, 18 Aug 2026 15:58:18 +0000 Subject: [PATCH 1/4] Add the AGENTS.md --- AGENTS.md | 336 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..773107421 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,336 @@ +# AGENTS.md — spack-stack + +Guidance for AI coding agents working in this repository. spack-stack is +JCSDA/EMC's spack-based distribution of the JEDI/UFS software stack; "building" +it means taking a machine and producing a working install tree plus Lmod/Tcl +modules that users `module load`. + +## Ground rules for agents + +- Every change is reviewed by a human before it becomes a pull request. +- Independent work is fine when directed; independently filing pull requests + and bugs is not acceptable. +- No tool attribution (`Co-Authored-By`, "Generated with…") anywhere. +- Submodule pins (`spack/`, `repos/builtin/`) stay put unless moving them is the + task. +- Follow the output discipline in §3. Streaming spack output will overwhelm your + context window and end the session. +- Run `spack dependents ` before anything destructive — + `spack uninstall --dependents` can take down half an env. + +## 1. Orientation + +- `configs/common/` — cross-site defaults, including per-compiler + `packages_.yaml`. +- `configs/sites/tier{1,2}//` — machine configs. **tier1** = preconfigured, + supported, often operational HPC; **tier2** = configurable/research. Orthogonal + to the admin/non-admin split in §2. +- `configs/templates/