mirror of
https://github.com/sdwolf4103/opencode-working-memory.git
synced 2026-07-17 12:56:42 +02:00
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:
@@ -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;
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user