diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
