summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 5e206ee..f28a904 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -65,6 +65,10 @@ Never rewrite ledger rows in a migration.
C11, no comments unless the reason is non-obvious, static helpers, no VLAs.
Bounded buffers with `snprintf`, check every `sqlite3_step`, free what you
allocate with a clear owner. Warnings must be zero (`-Wall -Wextra …`).
+New handlers use the `cmd_util` helpers instead of hand-written
+prepare/bind/step/column/finalize: `db_row_json` (column spec → object),
+`req_list` (bound SELECT → `{items:[…]}`), `req_exec`/`db_exec_bound` (bound
+INSERT/UPDATE/DELETE with the standard error codes), `db_prepare_bound`.
User-visible server messages are English; the TUI is Swedish.
## TUI work