summaryrefslogtreecommitdiff
path: root/makima/docs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-24 13:02:22 +0000
committersoryu <soryu@soryu.co>2026-01-24 13:02:22 +0000
commit36287d12a601409ae803a4e2d1bc6c88e4227fe0 (patch)
tree397d642dbea8bc543e72685fc93579a6a8c077b6 /makima/docs
parent4eb2d89335fe5ec573443b91fed8614bebb23011 (diff)
downloadsoryu-36287d12a601409ae803a4e2d1bc6c88e4227fe0.tar.gz
soryu-36287d12a601409ae803a4e2d1bc6c88e4227fe0.zip
feat: Add learning injection module for enhanced prompts
Implements Ralph-inspired learning injection that prepends context recovery and previous learnings to Claude prompts. This enables cross-task learning and context preservation. Features: - LearningInjector struct with configurable options (max_entries, include_context_recovery) - inject_learnings() function to enhance base prompts with context and learnings - extract_learnings_from_output() to parse Claude output for learning patterns - Supports markers: LEARNING:, PATTERN:, GOTCHA:, TIP: - Deduplicates learnings by description - Also fixes TaskState::Pending -> Initializing in context_recovery tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'makima/docs')
0 files changed, 0 insertions, 0 deletions