Cross-run compounding via lesson injection and validation (Phase 3)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading crates/terraphim_orchestrator/src/lib.rs, especially the requested load_prior_context() and consolidation call, then inspect crates/terraphim_agent_evolution/src/lessons.rs and its existing validate_lesson() with Evidence. Run cargo test --workspace after the Phase 1 and Phase 2 dependencies are available. Done means prior lessons appear on later runs, confidence changes after outcomes, consolidation runs without errors, and the workspace tests pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Enable agents to compound improvements across runs by injecting top-confidence lessons into prompts and validating them through success/failure outcomes.
Approach
- Before each spawn: load agent's
LessonsEvolution, inject top lessons into prompt - After run: validate injected lessons (success increases confidence, failure decreases)
- Add periodic memory consolidation every 100 reconciliation ticks (~50 min)
- Lesson confidence scores create natural selection pressure (AVO "single-lineage sustained evolution" pattern)
Critical Files
crates/terraphim_orchestrator/src/lib.rs-- addload_prior_context()methodcrates/terraphim_agent_evolution/src/lessons.rs-- use existingvalidate_lesson()with Evidencecrates/terraphim_orchestrator/src/lib.rs-- add consolidation call
Acceptance Criteria
- Second+ runs of same agent see prior lessons in prompt
- Confidence scores change after success/failure
- Memory consolidation runs without errors
-
cargo test --workspacepasses
Dependencies
- Blocked by: Phase 1 + Phase 2
- Related: #693 (success capture), #694 (procedure replay), #696 (automated workflow crystallisation)
- Ngôn ngữ chính
- Rust
- Star
- 62
- Fork
- 5
- Merge trung bình
- 2 giờ 27 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của terraphim/terraphim-ai
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
terraphim/terraphim-ai#885 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
terraphim/terraphim-ai#871 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
terraphim/terraphim-ai#810 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
terraphim/terraphim-ai#728 ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
terraphim/terraphim-ai#727 · 1 bình luận ·
Tất cả issue của terraphim/terraphim-ai
Issue tương tự
-
has_tail_capacity wraps and get_writable_raw_unchecked commits raw_len before the bounds check Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
stratum-mining/stratum#2404 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Axis areas are always keyboard-focusable (Sense::drag), even with allow_axis_zoom_drag(false) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug team:backend track:services-maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cowprotocol/services#4950 ·