diff --git a/AGENTS.md b/AGENTS.md index 99fa1d98..daf71c5a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ One folder per machine (owner rule, 2026-10-29). Outside it, read only: no creat - Laptop: `C:\Users\pavel\work\leleka` (worktrees, build output and run directories under `.git/wt`). Never create, list or clean sibling folders of the repository, and keep WSL builds inside it too (`CARGO_TARGET_DIR` inside the worktree). - 5090 server (`rnr5090`): `~/work/leleka/` only, the same name as on the laptop. It is a symlink to `/data/leleka-e2e/` because the root disk is small; the data lives on `/data`. Do not add anything to `~/work` itself or to any other folder. Known exception until the holder is re-homed: the GPU queue (`~/work/gpu-runs/holder2/jobs/` stubs and `PRIORITY`) is written there, nothing else. - Name each path after its task (`` or `-`); one directory per task, not one per attempt. -- Clean up your own paths at the end of the task. Do not hard-delete: move stale paths to `/data/leleka-e2e/_relocated/` (server) or `.git/_to-delete` (laptop) and append a line to the matching log. The owner deletes from there. +- Clean up your own paths at the end of the task. Do not hard-delete: anything deletable goes into the `garbage/` folder inside the work folder (laptop `leleka/garbage`, server `~/work/leleka/garbage`) with a line in `garbage/LOG.txt`. The owner empties it. - Evidence cited in a task record keeps its path until the cited change is merged; after a move, update the record with the new path. - An agent's final report lists every path it created, and any path outside the places above is moved in before the task is closed. - Measurement inputs are not scratch: a corpus, expert profile, prompt set, binary or helper script that a measurement depends on lives in one named directory (server: `/data/leleka-e2e/decode/` or the task's own directory), is frozen read-only, and is recorded with its sha256 in a manifest and in the run metadata. A run refuses to start when an input is missing or its digest differs. Never read an input from `~/work`, a home directory or a sibling folder that nobody owns. The 2026-10-29 incident: the 245k corpus lived in an unowned folder, a cleanup removed it, and the "256k" session silently became ~300 tokens.