From cb05c363045bf0e7af5858f6d7bc26f026fa9d70 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 24 Jul 2026 11:39:36 -0300 Subject: --- constrain/AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 constrain/AGENTS.md (limited to 'constrain/AGENTS.md') diff --git a/constrain/AGENTS.md b/constrain/AGENTS.md new file mode 100644 index 0000000..abec095 --- /dev/null +++ b/constrain/AGENTS.md @@ -0,0 +1,11 @@ +# Reading code here + +Files are read with the `vr` tool — run `vr -doc` once for full usage. + +- `vr read FILE:START-END` — line-numbered read; prefer ranges over whole files +- `vr grep PATTERN [PATH]` — regex search; scope with a path +- `vr read -r REV FILE`, `vr grep -r REV PATTERN PATH` — at another jj change +- `vr note -f FILE:10-42 -t struct TEXT...` — record observations as you read + +Navigate top-down: grep for the symbol, read the enclosing range, note what +you learn. Reads and notes are keyed to the current jj change automatically. -- cgit v1.3