aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/STATE.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 0c7f4f7..8a1d433 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -170,6 +170,15 @@ check.
Inställningar. pty golden scenarios `invoices`, `customers`,
`invoice-form`.
+22. **Command table split (2026-09-20)**: `src/commands.c` keeps only
+ discovery (`describe`, `agent.instructions`), `command_find` and the
+ registry; handlers, argument schemas and `g_cmd_<domain>[]` tables live in
+ `src/cmd_<domain>.c`, with shared helpers in `src/cmd_util.[ch]`.
+ `g_command_tables[]` registers the files in the original catalogue order
+ so `describe` output is byte-identical, and
+ `scripts/check-consistency.sh` / `make check` scans `src/commands.c` and
+ every `src/cmd_*.c`.
+
## Pending decisions
- Attachments are complete: download (voucher detail `f`, Underlag `Enter`,