poc-hook: raise compaction threshold to 900k for 1M context
Was 130k, calibrated for the old 200k window. With the 1M token context window, this was firing false compaction warnings for the entire session. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0e4a65eb98
commit
f555fa3c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ use std::path::PathBuf;
|
|||
use std::process::Command;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
const CONTEXT_THRESHOLD: u64 = 130_000;
|
||||
const CONTEXT_THRESHOLD: u64 = 900_000;
|
||||
const RATE_LIMIT_SECS: u64 = 60;
|
||||
const SOCK_PATH: &str = ".claude/hooks/idle-timer.sock";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue