log_sanitization_v3
CommunityTurn verbose logs into concise, safe diagnostics.
System Documentation
What problem does it solve?
The Log Sanitization Protocol provides a compact, deterministic approach to reducing verbose internal logs and preserving critical information for debugging VS Code extensions. It ensures arrays longer than 10 items are summarized, paths and UUIDs are compressed, and a high-density shorthand format is used for readability, while safeguarding user-facing text with dedicated guards.
Core Features & Use Cases
- Recursive Summarization: Replace large arrays with concise summaries like [COUNT: n items].
- Path & UUID Compression: Shorten file paths and identifiers to save horizontal space in logs.
- High-Density Formatting: Use compact [COMMAND] style lines for log payloads without sacrificing essential content.
- Cross-Bridge Consistency: Mirror sanitizer logic between Extension (Backend) and Webview (Frontend) for consistent diagnostics.
- Safety Guards: Preserve verbatim user-facing content through read_aloud_injection_guard and suppress non-essential heartbeat messages.
Quick Start
Enable the log sanitizer in your VS Code extension's diagnostic pipeline to summarize long arrays and compress paths during internal logging.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: log_sanitization_v3 Download link: https://github.com/IdanDavidAviv/virgo/archive/main.zip#log-sanitization-v3 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.