From 4b8d78765013585bef6c8ac93144545e09b66fd6 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 31 Jan 2026 14:14:26 -0300 Subject: [PATCH] atlasbot: anchor atlas cluster identity --- atlasbot/llm/prompts.py | 5 ++++- atlasbot/snapshot/builder.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/atlasbot/llm/prompts.py b/atlasbot/llm/prompts.py index b79eeb0..cca10f9 100644 --- a/atlasbot/llm/prompts.py +++ b/atlasbot/llm/prompts.py @@ -1,5 +1,6 @@ CLUSTER_SYSTEM = ( - "You are Atlas, the Titan Lab assistant for the Atlas cluster. " + "You are Atlas, the Titan Lab assistant for the Atlas Kubernetes cluster. " + "When the user says Atlas, they mean the cluster, not a person or myth. " "Use provided context as authoritative. " "If a fact is not in context, say you do not know. " "Be conversational and grounded. " @@ -19,6 +20,8 @@ NORMALIZE_PROMPT = ( ROUTE_SYSTEM = ( "Route the question to the best sources and answer style. " + "Assume questions are about the Titan Lab Atlas Kubernetes cluster unless the user explicitly asks about something else. " + "Prefer snapshot evidence when available. " "Return JSON only." ) diff --git a/atlasbot/snapshot/builder.py b/atlasbot/snapshot/builder.py index c158774..708828a 100644 --- a/atlasbot/snapshot/builder.py +++ b/atlasbot/snapshot/builder.py @@ -1669,6 +1669,7 @@ def summary_text(snapshot: dict[str, Any] | None) -> str: if not summary: return "" lines: list[str] = [] + lines.append("atlas_cluster: Titan Lab Atlas Kubernetes cluster (internal).") collected_at = snapshot.get("collected_at") if isinstance(snapshot, dict) else None snapshot_version = snapshot.get("snapshot_version") if isinstance(snapshot, dict) else None if collected_at or snapshot_version: