TheFlow
|
e7e3598aeb
|
feat: add inst_039 (background task cleanup) + optimal session startup guide
inst_039: Mandatory background task cleanup before session handoff
- Kill background bash shells (KillShell tool)
- Clean up ports (lsof -ti:PORT | xargs -r kill -9)
- Prevent resource leaks and next-session confusion
OPTIMAL_SESSION_STARTUP.md: Complete guide for session management
- 40-message limit (PRIMARY constraint, not 200k tokens)
- Compaction tracking (0/1/2/3) with multipliers
- Emergency handoff protocol
- Common mistakes to avoid
Key insight: Message count >> token count for predicting compactions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-12 22:54:10 +13:00 |
|