You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Stop misattributing Claude Code's auto-compaction as a Pilot feature
Auto-compaction is a built-in Claude Code feature. What Pilot adds are
hooks (PreCompact + SessionStart(compact)) that capture and restore
Pilot-specific state, and persistent memory that carries context across
sessions. Updated all website copy, testimonials, FAQ, README comparison
table, and agent descriptions to correctly attribute each.
Also fixes: hook count 12→15, SessionEnd hook description, 90%→83%
compaction threshold, unused ctx parameter, SETTINGS_FILE constant usage.
| Writes code, skips tests | TDD enforced — RED, GREEN, REFACTOR on every feature |
48
48
| No quality checks | Hooks auto-lint, format, type-check on every file edit |
49
-
| Context degrades mid-task |Intelligent context management with auto-compaction |
49
+
| Context degrades mid-task |Hooks preserve and restore state across compaction cycles|
50
50
| Every session starts fresh | Persistent memory across sessions via Pilot Console |
51
51
| Hope it works | Verifier sub-agents perform code review before marking complete |
52
52
| No codebase knowledge | Production-tested rules loaded into every session |
@@ -65,9 +65,9 @@ There are other AI coding frameworks out there. I tried them. They add complexit
65
65
66
66
This isn't a vibe coding tool. It's built for developers who ship to production and need code that actually works. Every rule in the system comes from daily professional use: real bugs caught, real regressions prevented, real sessions where the AI cut corners and the hooks stopped it. The rules are continuously refined based on what measurably improves output.
67
67
68
-
**The result: you can actually walk away.** Start a `/spec` task, approve the plan, then go grab a coffee. When you come back, the work is done — tested, verified, formatted, and ready to ship. Auto-compaction handles session continuity automatically, quality hooks catch every mistake along the way, and verifier agents review the code before marking it complete. No babysitting required.
68
+
**The result: you can actually walk away.** Start a `/spec` task, approve the plan, then go grab a coffee. When you come back, the work is done — tested, verified, formatted, and ready to ship. Hooks preserve state across compaction cycles, persistent memory carries context between sessions, quality hooks catch every mistake along the way, and verifier agents review the code before marking it complete. No babysitting required.
69
69
70
-
The system stays fast because it stays simple. Quick mode is direct execution with zero overhead — no sub-agents, no plan files, no directory scaffolding. You describe the task and it gets done. `/spec` adds structure only when you need it: plan verification, TDD enforcement, independent code review, automated quality checks. Both modes share the same quality hooks. Both modes benefit from automatic context compaction and persistent memory.
70
+
The system stays fast because it stays simple. Quick mode is direct execution with zero overhead — no sub-agents, no plan files, no directory scaffolding. You describe the task and it gets done. `/spec` adds structure only when you need it: plan verification, TDD enforcement, independent code review, automated quality checks. Both modes share the same quality hooks. Both modes benefit from persistent memory and hooks that preserve state across compaction.
71
71
72
72
---
73
73
@@ -327,7 +327,7 @@ Run `/sync` after adding servers to generate documentation.
327
327
328
328
### The Hooks Pipeline
329
329
330
-
**12 hooks** fire automatically across 6 lifecycle events:
330
+
**15 hooks** fire automatically across 6 lifecycle events:
331
331
332
332
#### SessionStart (on startup, clear, or compact)
333
333
@@ -431,7 +431,7 @@ Conditional rules activated by file type — loaded only when working with match
| Backend |`**/models/**`, `**/routes/**`, `**/api/**`, etc | API design, data models, query optimization, migrations |
434
+
| Backend |`**/models/**`, `**/routes/**`, `**/api/**`, etc.| API design, data models, query optimization, migrations |
435
435
436
436
### MCP Servers
437
437
@@ -475,7 +475,7 @@ Access the web-based Claude Pilot Console to visualize your development workflow
475
475
476
476
> "Other frameworks I tried added so much overhead that half my tokens went to the system itself. Pilot is lean — quick mode has zero scaffolding, and even /spec only adds structure where it matters. More of my context goes to actual work."
477
477
478
-
> "Auto-compaction solved the problem I didn't know how to fix. Complex refactors used to stall at 60% because Claude lost track of what it was doing. Now compaction kicks in seamlessly and Claude just keeps going without missing a beat."
478
+
> "The persistent memory changed everything. I can pick up a project after a week and Claude already knows my architecture decisions, the bugs we fixed, and why we chose certain patterns. No more re-explaining the same context every session."
479
479
480
480
---
481
481
@@ -537,14 +537,14 @@ Yes. Pilot enhances Claude Code — it doesn't replace it. You need an active Cl
537
537
<details>
538
538
<summary><b>Does Pilot work with existing projects?</b></summary>
539
539
540
-
Yes — that's the primary use case. Pilot doesn't scaffold or restructure your code. You install it, run `/sync`, and it explores your codebase to discover your tech stack, conventions, and patterns. From there, every session has full context about your project. The more complex and established your codebase, the more value Pilot adds — quality hooks catch regressions, auto-compaction preserves context across long sessions, and `/spec` plans features against your real architecture.
540
+
Yes — that's the primary use case. Pilot doesn't scaffold or restructure your code. You install it, run `/sync`, and it explores your codebase to discover your tech stack, conventions, and patterns. From there, every session has full context about your project. The more complex and established your codebase, the more value Pilot adds — quality hooks catch regressions, persistent memory preserves decisions across sessions, and `/spec` plans features against your real architecture.
541
541
542
542
</details>
543
543
544
544
<details>
545
545
<summary><b>Does Pilot work with any programming language?</b></summary>
546
546
547
-
Pilot's quality hooks (auto-formatting, linting, type checking) currently support Python, TypeScript/JavaScript, and Go out of the box. TDD enforcement, spec-driven development, auto-compaction, persistent memory, and all rules and standards work with any language that Claude Code supports. You can add custom hooks for additional languages.
547
+
Pilot's quality hooks (auto-formatting, linting, type checking) currently support Python, TypeScript/JavaScript, and Go out of the box. TDD enforcement, spec-driven development, persistent memory, context preservation hooks, and all rules and standards work with any language that Claude Code supports. You can add custom hooks for additional languages.
Copy file name to clipboardExpand all lines: docs/site/src/components/FAQSection.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ const faqItems = [
26
26
{
27
27
question: "Does Pilot work with existing projects?",
28
28
answer:
29
-
"Yes \u2014 that's the primary use case. Pilot doesn't scaffold or restructure your code. You install it, run /sync, and it explores your codebase to discover your tech stack, conventions, and patterns. From there, every session has full context about your project. The more complex and established your codebase, the more value Pilot adds \u2014 quality hooks catch regressions, auto-compaction preserves context across long sessions, and /spec plans features against your real architecture.",
29
+
"Yes \u2014 that's the primary use case. Pilot doesn't scaffold or restructure your code. You install it, run /sync, and it explores your codebase to discover your tech stack, conventions, and patterns. From there, every session has full context about your project. The more complex and established your codebase, the more value Pilot adds \u2014 quality hooks catch regressions, persistent memory preserves decisions across sessions, and /spec plans features against your real architecture.",
30
30
},
31
31
{
32
32
question: "Does Pilot work with any programming language?",
33
33
answer:
34
-
"Pilot's quality hooks (auto-formatting, linting, type checking) currently support Python, TypeScript/JavaScript, and Go out of the box. TDD enforcement, spec-driven development, auto-compaction, persistent memory, and all rules and standards work with any language that Claude Code supports. You can add custom hooks for additional languages.",
34
+
"Pilot's quality hooks (auto-formatting, linting, type checking) currently support Python, TypeScript/JavaScript, and Go out of the box. TDD enforcement, spec-driven development, persistent memory, context preservation hooks, and all rules and standards work with any language that Claude Code supports. You can add custom hooks for additional languages.",
35
35
},
36
36
{
37
37
question: "Can I use Pilot on multiple projects?",
Copy file name to clipboardExpand all lines: docs/site/src/components/TestimonialsSection.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ const testimonials = [
7
7
role: "Senior Developer",
8
8
},
9
9
{
10
-
quote: "Auto-compaction is a game-changer. I used to lose context halfway through complex refactors. Now it kicks in seamlessly and Claude just keeps going without missing a beat.",
10
+
quote: "The persistent memory is what sold me. I can pick up a project after a week and Claude already knows my architecture decisions, the bugs we fixed, and why we chose certain patterns. No more re-explaining everything.",
Copy file name to clipboardExpand all lines: docs/site/src/content/blog/claude-code-hooks-guide.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,7 @@ Claude Pilot installs several hooks automatically:
162
162
-**TDD Enforcer** (PostToolUse): Reminds Claude to write tests before production code
163
163
-**Context Monitor** (PostToolUse): Tracks context usage and prepares for auto-compaction at 90%
164
164
-**Tool Redirect** (PreToolUse): Blocks inefficient tools and suggests better alternatives
165
-
-**Session End** (SessionEnd): Saves session state for context restoration after compaction
165
+
-**PreCompact** (PreCompact): Captures active plan, task progress, and key context to memory before compaction
166
+
-**Session End** (SessionEnd): Stops worker daemon when no other sessions are active and sends completion notifications
166
167
167
168
These hooks work together to enforce quality workflows without relying on Claude remembering rules. Hooks are deterministic — they always run, unlike rules which Claude might occasionally skip.
Copy file name to clipboardExpand all lines: docs/site/src/content/blog/managing-context-long-sessions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ Here's how it works:
101
101
102
102
### 1. Context Monitoring
103
103
104
-
A background hook continuously tracks context usage percentage. At 80%, it warns that context is getting high. At 90%, auto-compaction triggers and state is preserved via hooks.
104
+
A background hook continuously tracks context usage percentage. At 75%, it warns that context is getting high. At 80%+, state-preservation hooks prepare for Claude Code's built-in auto-compaction at ~83%.
0 commit comments