Wire terraphim_agent_evolution into ADF orchestrator (Phase 1)
还没有人认领这个 Issue。
评估
调研方向
First check the dependency on Gitea #117, then read crates/terraphim_orchestrator/src/lib.rs, handoff.rs, and crates/terraphim_agent_evolution/src/evolution.rs. Review the planned output_parser.rs formats and run cargo test --workspace. Done means persisted VersionedMemory and LessonsState exist after a run, and handoffs include the evolution key.
由索引模型根据 Issue 内容生成。
描述
Summary
Wire the existing terraphim_agent_evolution crate into the ADF orchestrator reconciliation loop to give agents persistent memory of prior runs (solution lineage).
Approach
- Add
HashMap<String, AgentEvolutionSystem>field to orchestrator - On each output event: parse structured content (NDJSON for opencode, JSON for Claude), store as
MemoryItemin agent'sMemoryEvolution - On agent exit: record success/failure as
Lesson, callcreate_snapshot() - On handoff: include
evolution_snapshot_keyso receiving agent can load prior state
Critical Files
crates/terraphim_orchestrator/src/lib.rs-- add evolution system field, feed output events, snapshot on exitcrates/terraphim_agent_evolution/src/evolution.rs-- AgentEvolutionSystem (MemoryEvolution, TasksEvolution, LessonsEvolution)crates/terraphim_orchestrator/src/handoff.rs-- add evolution_snapshot_key to HandoffContext- New:
crates/terraphim_orchestrator/src/output_parser.rs-- parse agent output formats
Acceptance Criteria
- After agent run,
VersionedMemorysnapshot exists in persistence -
LessonsStatecontains at least one lesson per run - Handoff includes evolution key
-
cargo test --workspacepasses
Dependencies
- Blocked by: Gitea #117 (Phase 0: ADF remediation)
- Related: #639 (session persistence), #641 (activity log), #692 (operational skill store)
- Part of: Agentic Knowledge Evolution plan (knowledge/external/ai-agents/avo-agentic-variation-operators-nvidia-2026.md)
- 主要语言
- Rust
- 星标
- 62
- 派生
- 5
- 平均合并
- 2 小时 27 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
terraphim/terraphim-ai 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
terraphim/terraphim-ai#885 ·
-
难度 4/5 3-5 天 新手友好度 55/100
terraphim/terraphim-ai#871 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
terraphim/terraphim-ai#810 · 2 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
terraphim/terraphim-ai#729 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
terraphim/terraphim-ai#728 ·
查看 terraphim/terraphim-ai 的全部 Issue
相似的 Issue
-
risk:low runtime status:in-progress type:test
难度 1/5 1 小时以内 新手友好度 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 1/5 1 小时以内 新手友好度 72/100
bevyengine/bevy#25861 ·