---
name: CONTEXT.md
type: system
scope: all
priority: 70
permission: read
dynamic: false
description: Defines context loading strategy and priority. Update when context requirements change.
---

# Context Loading Strategy

## When to Update

### SHOULD - Recommended
- Context loading needs optimization
- New context sources become available

### cleanup - Cleanup Rules
- Remove outdated context sources
- Update loading priorities as needed

## Context Priority

### MUST Load (Always)
- SOUL.md - Core identity and values
- USER.md - User information
- Current task context

### SHOULD Load (When Relevant)
- BOOT.md - First principles
- AGENTS.md - Workspace navigation
- TOOLS.md - Tool-specific notes

### MAY Load (When Needed)
- HEARTBEAT.md - Periodic tasks
- Memory files - Historical context

## Loading Order

1. Core identity files (SOUL, USER, BOOT)
2. Workspace navigation (AGENTS)
3. Tool configurations (TOOLS)
4. Task-specific context
5. Historical memory

## Security Considerations

- MEMORY.md only in main sessions
- DO NOT load in shared contexts
- Respect user privacy boundaries
