Expand description
Context building for task execution.
Assembles all contextual information needed for the agent prompt:
- Task-specific context files
- Parent task context (for subtasks)
- Project instructions (CLAUDE.md, AGENTS.md, README.md)
- Skills documentation
- Repository file tree
- Git diff (for retries)
- Issue comments
Structs§
- Task
Context - All assembled context for a task execution.
Functions§
- build_
full_ context - Build the full task context.
- build_
git_ diff - Build git diff from base branch (only for retries).
- build_
git_ log - Build git log from base branch to HEAD. Shows commit history for the feature branch.
- build_
memory_ context - Build memory context from previous attempts. Returns formatted memory context string and the raw memory entries.
- build_
parent_ context - Build parent task context for subtasks.
- build_
project_ instructions - Build project instructions from CLAUDE.md, AGENTS.md, README.md.
- build_
repo_ tree - Build repository file tree (git ls-files, capped at 200 lines).
- build_
skills_ docs - Build skills documentation for selected skills.
- fetch_
issue_ comments - Fetch issue comments for agent context.
- load_
pr_ review_ context - Load PR review context from store.
- load_
task_ context - Load task-specific context from context file.