← /geode/portfolioGEODE . 문서
GitHub
GEODE 운영
How-to

장기 실행 안전

토큰 가드, 컨텍스트 오버플로, 슬라이딩 윈도. graceful drain.

이 가이드는 GEODE를 수 시간 이상 돌릴 때 발생하는 안전 위험과 그 가드 메커니즘을 정리합니다.

5 가드

  • 200K 절대 토큰 가드 — context가 한계 근처면 graceful drain
  • 25K MCP 결과 가드 — 한 도구 호출의 단일 결과 cap. HTML → MD 폴백
  • 200-턴 슬라이딩 윈도 — 가장 오래된 turn부터 압축
  • 50 라운드 상한 — while(tool_use) loop의 최대 라운드
  • 5 종료 경로 — natural completion, budget, error, user stop, timeout

관련 설정

# config.toml
[runtime.budget]
max_tokens = 200000
max_rounds = 50
max_turns = 200

관측

참조: wiki/concepts/geode-long-running-safety.md, wiki/concepts/geode-context-overflow-prevention.md, wiki/concepts/geode-context-guard.md