From 6ff31279d38bd3b814f19b1fb63933544139f6cf Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 22:08:08 +0200 Subject: build: make gate with WERROR and a pre-push hook --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 9798b4a..0008428 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -94,6 +94,9 @@ helpers and `struct app` are in `clients/ui.[ch]`; the scene registry - Sanitizers: `make test-asan` (ASan) and `make test-ubsan` (UBSan) build `test_core` in `build-asan`/`build-ubsan`. Run them after touching allocation or arithmetic paths. +- Before you stop: `make gate` — a clean rebuild with `WERROR=1`, the full + suite and `test-asan`. `sh scripts/install-hooks.sh` points + `core.hooksPath` at `.githooks/` so the pre-push hook runs it automatically. - Never run `bokftui` for tests without `scripts/tui-sandbox.sh`: it isolates `XDG_CONFIG_HOME`/`XDG_CACHE_HOME` so a run cannot overwrite the human's `~/.config/bokf/tui.conf`, `~/.cache/bokf/tui.log` or bw session. -- cgit v1.3