Description
Implement the capture logic for the Learning Capture System.
Requirements
- Create
crates/terraphim_agent/src/learnings/capture.rs
- Implement
capture_failed_command() function
- Auto-suggest corrections from existing KG using
find_matches()
- Write markdown files to project or global storage
- Handle chained commands (split && and || chains)
- Include full context: command, error output, exit code, timestamp
Acceptance Criteria
Related
- Spec:
docs/specifications/learning-capture-specification-interview.md
- Depends on: Step 1 (types) and Step 2 (redaction) - DONE
Description
Implement the capture logic for the Learning Capture System.
Requirements
crates/terraphim_agent/src/learnings/capture.rscapture_failed_command()functionfind_matches()Acceptance Criteria
capture_failed_command()implementedRelated
docs/specifications/learning-capture-specification-interview.md