#!/bin/bash # Blue Context-Restore Hook # Targeted context restoration after compaction # Lighter than session-start (~150 tokens vs ~800 tokens) cat << 'EOF' ## Blue MCP Tools Available This project uses Blue for SDLC workflow management. Key tools: - `blue_status` - Current RFC, worktree, and session state - `blue_next` - Recommended next action - `blue_rfc_*` - RFC lifecycle management - `blue_worktree_*` - Isolated development environments ## Workflow Discipline 1. Code changes require active worktrees (RFC 0038) 2. RFCs drive planning; worktrees isolate implementation 3. Tasks with `blue_rfc` metadata sync to .plan.md files Run `blue_status` to see current project state. EOF # Optionally inject project-specific workflow if it exists if [ -f ".blue/workflow.md" ]; then echo "" cat ".blue/workflow.md" echo "" fi