aboutsummaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 9d13b13..7ab5c12 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -58,9 +58,11 @@ machine's hardware or role; otherwise it's shared.
hostnames/URLs, high-entropy strings. `git diff --cached --check`
catches whitespace, not secrets — an actual grep review of the diff is
required. If in doubt, leave it out and ask.
-- Never commit: `*.bak` / `config.bak.*` backups, editor state, lock or
- lock-state files, `fish_variables` (per-machine session state,
- regenerates on login), anything under `old_config/` or `__pycache__/`.
+- Never commit: `*.bak` / `config.bak.*` backups, editor state, session
+ state that regenerates per machine (`fish_variables`), `old_config/`,
+ `__pycache__/`. Plugin lock files (e.g. nvim's `lazy-lock.json`,
+ `nvim-pack-lock.json`) ARE tracked deliberately — they pin plugin
+ versions for reproducibility.
- `git status` must be clean or intentionally scoped before commit. If
stray files appear, fix the scope (`.gitignore` or exclude) — never
sweep them in, never blanket `git add -A` without reading what's staged.