summaryrefslogtreecommitdiff
path: root/constrain/AGENTS.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-24 11:39:36 -0300
committerGabriel Schneider <[email protected]>2026-07-30 15:18:55 -0300
commitcb05c363045bf0e7af5858f6d7bc26f026fa9d70 (patch)
treec3e89426ff044ffe339dd3a77e7f3b7115cba636 /constrain/AGENTS.md
downloadnotevi-cb05c363045bf0e7af5858f6d7bc26f026fa9d70.tar.gz
notevi-cb05c363045bf0e7af5858f6d7bc26f026fa9d70.zip
Diffstat (limited to 'constrain/AGENTS.md')
-rw-r--r--constrain/AGENTS.md11
1 files changed, 11 insertions, 0 deletions
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.