LogPilot — Semantic Build Log Compression
Overview
LogPilot is a three-tool system for token-efficient build log analysis. Never read raw logs into context — always use these tools first.
Quick Start
# Compress a build log (auto-detects build system) logparse build.log # Explore an unfamiliar log format logexplore unknown.log # Check errors against known fixes logparse build.log | logfix --check
Tools
logparse — Compress the log
Deduplicates, segments, scores, and packs a build log into a token budget. Run with --help agent to learn how to add new build system modes.
logexplore — Discover structure
Analyzes unfamiliar logs to show phases, frequency tables, and segment boundaries. Use before creating new logparse modes.
logfix — Fix memory
Matches error patterns against a flat-file YAML knowledge base. Run with --help agent to learn how to add new fix entries.
Full Documentation
See claude.md in this repository for complete specifications, algorithm details, self-update protocols, and bootstrap instructions.