From b2a0a2cde52b8fc9237dbddfb347b8a058747032 Mon Sep 17 00:00:00 2001 From: Brian McNaboe Date: Wed, 30 Sep 2026 11:31:19 -0400 Subject: [PATCH 1/2] docs(cli): list daemon in --help The daemon subcommand was reachable but absent from the usage text. The description matches the hint daemon status already prints: a warm daemon lets CLI calls and hooks skip the per-command daemon start-up. It does not claim to remove a hook process's own image hash. Signed-off-by: Brian McNaboe --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index fd3370c044..800898cd23 100644 --- a/src/main.c +++ b/src/main.c @@ -1110,6 +1110,9 @@ static void print_help(void) { printf(" codebase-memory-mcp uninstall [-y|-n] [--dry-run]\n"); printf(" codebase-memory-mcp update [-y|-n]\n"); printf(" codebase-memory-mcp config \n"); + printf(" codebase-memory-mcp daemon \n"); + printf(" start keeps a daemon warm so CLI calls and\n"); + printf(" hooks skip the per-command daemon start-up\n"); printf(" codebase-memory-mcp --version Print version\n"); printf(" codebase-memory-mcp --help Print this help\n"); printf("\nCLI output options:\n"); From 2b1aba710c81cf763234967f56b6df014f784b31 Mon Sep 17 00:00:00 2001 From: Martin Vogel Date: Tue, 20 Oct 2026 19:25:58 +0200 Subject: [PATCH 2/2] docs(cli): say what a warm daemon gives hooks in --help Hooks never start a daemon. Without one they skip graph augmentation and print a throttled notice that points at `daemon start` (main_hook_report_absent_daemon), so a hook has no per-command daemon start-up to skip. What a warm daemon gives hooks is the graph context itself. Reword the second half of the daemon help entry to say that. The CLI half stays: it matches the hint a one-shot CLI command prints after it had to start a temporary daemon. Signed-off-by: Martin Vogel --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 800898cd23..bee6617933 100644 --- a/src/main.c +++ b/src/main.c @@ -1111,8 +1111,9 @@ static void print_help(void) { printf(" codebase-memory-mcp update [-y|-n]\n"); printf(" codebase-memory-mcp config \n"); printf(" codebase-memory-mcp daemon \n"); - printf(" start keeps a daemon warm so CLI calls and\n"); - printf(" hooks skip the per-command daemon start-up\n"); + printf(" start keeps a daemon warm: CLI calls skip\n"); + printf(" the per-command start-up, and hooks add\n"); + printf(" graph context only while a daemon runs\n"); printf(" codebase-memory-mcp --version Print version\n"); printf(" codebase-memory-mcp --help Print this help\n"); printf("\nCLI output options:\n");