| 1263 | } |
| 1264 | |
| 1265 | static cbm_daemon_ipc_endpoint_t *main_daemon_endpoint_new(void) { |
| 1266 | const char *runtime_parent = NULL; |
| 1267 | #ifdef CBM_ENABLE_TEST_SEAMS |
| 1268 | /* Product daemon coordination is deliberately account-wide. Product-level |
| 1269 | * lifecycle guards need an isolated rendezvous namespace so they cannot |
| 1270 | * attach to or retire a developer's real daemon while exercising exact |
| 1271 | * start/open/stop behavior. The seam is opt-in at compile time and the |
| 1272 | * detached child inherits the same environment value. */ |
| 1273 | char seam_runtime_parent[MAIN_PATH_CAP]; |
| 1274 | runtime_parent = cbm_safe_getenv("CBM_TEST_DAEMON_RUNTIME_PARENT", seam_runtime_parent, |
| 1275 | sizeof(seam_runtime_parent), NULL); |
| 1276 | #endif |
| 1277 | return cbm_daemon_bootstrap_endpoint_new(runtime_parent); |
| 1278 | } |
| 1279 | |
| 1280 | static bool main_local_cli_feedback_enabled(int argc, char **argv) { |
| 1281 | bool requested = false; |
no test coverage detected