fix(openclaw): resolve tracking compaction hang, restrict tracking tools and enforce lifecycle management

This commit is contained in:
Moritz Graf
2026-10-14 13:39:38 +02:00
parent cab8dd290f
commit a0c8c3828c
3 changed files with 21 additions and 1 deletions
+3 -1
View File
@@ -51,12 +51,14 @@ THRESHOLD_EVENT_COUNT = 30
CRON_MAX_AGE_HOURS = 48
RPC_TIMEOUT_MS = 180000
# Tier A: High-frequency interaction topics (koch, hebamme, shopping).
# Tier A: High-frequency interaction and tracking topics (koch, hebamme, shopping, mila_tracker, nutrition_tracker).
# Deep-compaction keeps a compact summary + latest 2 turns without completely wiping conversational memory.
TIER_A_TARGETS = [
("koch", "agent:koch:telegram:group:-1004326921510:topic:21"),
("hebamme", "agent:hebamme:telegram:group:-1004326921510:topic:22"),
("shopping", "agent:shopping:telegram:group:-1004326921510:topic:115"),
("mila_tracker", "agent:mila_tracker:telegram:group:-1004326921510:topic:2796"),
("nutrition_tracker", "agent:nutrition_tracker:telegram:group:-1004326921510:topic:2797"),
]
def prewarm_page_cache():