Fix pressure thresholds and ASCII diagram alignment

- Corrected pressure levels: 75% (moderate) / 90% (high)
- Removed incorrect 'critical' level (95%)
- Fixed ASCII diagram alignment in README
- Updated all documentation to match actual code implementation
- Pruning modes: < 75% (normal), 75-89% (aggressive), ≥ 90% (hyper-aggressive)
This commit is contained in:
Ralph Chang
2026-02-18 10:13:28 +08:00
parent 4b862ee79c
commit 22cfd6ee3a
3 changed files with 15 additions and 16 deletions
+3 -3
View File
@@ -91,13 +91,13 @@ const ESTIMATED_CONTEXT_LIMIT = 180000; // Conservative estimate (chars)
### Line Thresholds
```typescript
// Normal mode (pressure < 85%)
// Normal mode (pressure < 75%)
const PRUNE_THRESHOLD_NORMAL = 50;
// Aggressive mode (85% ≤ pressure < 95%)
// Aggressive mode (75% ≤ pressure < 90%)
const PRUNE_THRESHOLD_AGGRESSIVE = 30;
// Hyper-aggressive mode (pressure ≥ 95%)
// Hyper-aggressive mode (pressure ≥ 90%)
const PRUNE_THRESHOLD_HYPER = 15;
```