| 2470 | "Codebase Knowledge Graph (codebase-memory-mcp)"; |
| 2471 | |
| 2472 | static int cbm_upsert_openclaw_compaction(const char *config_path) { |
| 2473 | static const char *const path[] = {"agents", "defaults", "compaction"}; |
| 2474 | return cbm_json_like_add_unique_string_at_path(config_path, path, 3U, "postCompactionSections", |
| 2475 | cbm_openclaw_compaction_section) == 0 |
| 2476 | ? CLI_OK |
| 2477 | : CLI_ERR; |
| 2478 | } |
| 2479 | |
| 2480 | static int cbm_remove_openclaw_compaction(const char *config_path) { |
| 2481 | static const char *const path[] = {"agents", "defaults", "compaction"}; |
no test coverage detected