From 79650616f181043797eb2b34bdb6c0c332165638 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 27 Jan 2026 18:51:00 -0300 Subject: [PATCH] atlasbot: make insights sound more human --- services/comms/atlasbot-deployment.yaml | 2 +- services/comms/scripts/atlasbot/bot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/comms/atlasbot-deployment.yaml b/services/comms/atlasbot-deployment.yaml index d02255e..2c0b84d 100644 --- a/services/comms/atlasbot-deployment.yaml +++ b/services/comms/atlasbot-deployment.yaml @@ -16,7 +16,7 @@ spec: labels: app: atlasbot annotations: - checksum/atlasbot-configmap: manual-atlasbot-57 + checksum/atlasbot-configmap: manual-atlasbot-58 vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/role: "comms" vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret" diff --git a/services/comms/scripts/atlasbot/bot.py b/services/comms/scripts/atlasbot/bot.py index 54434e7..659ea49 100644 --- a/services/comms/scripts/atlasbot/bot.py +++ b/services/comms/scripts/atlasbot/bot.py @@ -1729,9 +1729,9 @@ def _format_insight_text(key: str, text: str) -> str: return f"Postgres is at {detail}; that suggests moderate load." if key == "pods": detail = cleaned.replace("There are ", "") - return f"Pods look stable with {detail}." + return f"Pods look steady ({detail}); the workload mix looks healthy." if key == "availability": - return cleaned + "." + return cleaned + " That suggests the cluster is stable right now." if key in ("cpu", "ram"): suffix = ( " If you're chasing hotspots, that's the busiest workload right now."