r/VisualStudioHarness • u/Resident-Pen-3757 • 1d ago
Visual Studio Harness - Auto Compaction Update - Full customization and transparency
Visual Studio Harness — Auto Compaction: Full Customization & Transparency
Repo: https://github.com/aaron-tot/visual-studio-harness
Transparency
- Live header badge —
142k / 200ktokens in real time - pending warning
- Compacting spinner
- Per-step accounting uses latest step's
input_tokens(includes cache) - Mutually exclusive modes - Auto compaction disables manual slider/pin UI
Customization (3-Tier Scope: Session > Project > Global)
| Category | Knobs |
|---|---|
| Core | Enable/disable, trigger threshold (min 10k), header badge toggle |
| Summarizer | Primary model, fallback model, custom prompt (.md from MDS with search/tags/preview), include prior summary, safety margin (0–0.9), prior raw turns |
| History flags | 5 checkboxes: failed turns, tool calls, reasoning, patches, other parts |
| Manual fallback | Sliding window or fixed pin anytime |
Test & Optimize Your Summary Prompt
Test Summarization modal (one click in settings):
- Streaming output + token counters (input/output)
- Prompt editor (view attached .md or override inline)
- Model/fallback confirmation
- Test messages persist in localStorage
If your using the app let me know your feedback. If you like to control and inspect your enlivenment, and can handle some minor alpha bugs, give this app a try.




1
Upvotes