Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Merge pull request #2115 from DeusData/fix/activation-guard-home-scope

Martin Vogel9da4d66df287
diff --cc src/cli/cli.c
index 511bebef6,b52cb82d0..51fbafc02
--- a/src/cli/cli.c
+++ b/src/cli/cli.c
@@@ -747,22 -871,12 +874,20 @@@ static int cli_activation_guard_scoped(
}
cli_activation_production_context_t context;
- if (!cli_activation_production_context_init(&context, action, target_version, target_build)) {
+ if (!cli_activation_production_context_init(&context, action, target_version, target_build,
+ quiesce_required)) {
cli_activation_production_context_close(&context);
- cli_activation_production_diagnostic(NULL, CLI_ACTIVATION_REFUSED_MESSAGE);
+ /* #1856: this refusal used to print the generic text BARE. Every other
+ * emitter routes through cli_activation_diagnostic, which appends the
+ * transaction refusal note or cbm_daemon_ipc_validation_detail() and so
+ * names the check that actually refused. Here the reader got "Check the
+ * errors above" with nothing above -- exactly the dead end #1537/#1416
+ * fixed on the other paths and missed on this one. Context init is
+ * where the cache, rendezvous and log directories are validated, so it
+ * is the emitter MOST likely to hold a detail worth showing. */
+ cli_activation_diagnostic(NULL, CLI_ACTIVATION_REFUSED_MESSAGE);
return CLI_TRUE;
}
- printf("Stopping active CBM sessions and operations for %s...\n",
- cli_activation_action_text(action));
- (void)fflush(stdout);
if (!cli_activation_log_event(&context, "requested", NULL)) {
cli_activation_production_context_close(&context);
(void)fprintf(stderr, "error: activation request could not be recorded safely; "