refactor: 전면 재설계 - 시작 시 채널 스팸 제거, content hash 중복 방지, 단일 이벤트 경로

This commit is contained in:
2026-03-07 11:42:11 +09:00
parent 52fed8c1d3
commit e32be6b2f3
3 changed files with 155 additions and 312 deletions

View File

@@ -21,24 +21,16 @@ class Config:
os.path.expanduser("~/.gemini/antigravity/brain")
))
# Session activity detection
ACTIVE_TIMEOUT_SECONDS: int = int(os.getenv("ACTIVE_TIMEOUT_SECONDS", "300"))
# Watcher settings
DEBOUNCE_SECONDS: float = float(os.getenv("DEBOUNCE_SECONDS", "2"))
DEBOUNCE_SECONDS: float = float(os.getenv("DEBOUNCE_SECONDS", "5"))
# Files to monitor within each conversation directory
# Files to monitor within each conversation directory (PRIMARY ONLY)
WATCHED_FILES: set = {
"task.md",
"implementation_plan.md",
"walkthrough.md",
}
# Also monitor these patterns (matched by suffix)
WATCHED_SUFFIXES: set = {
".metadata.json", # artifact summary changes
}
# Discord message limits
DISCORD_MSG_LIMIT: int = 2000
DISCORD_EMBED_DESC_LIMIT: int = 4096