| apply review: stop detach tmp file and posttooluse matcher
| 1 个月前 |
| test: cover schema registry integration
| 11 天前 |
| fix(provenance): merge provenance_ids with dedup, accept list detail, append not overwrite
Three fixes to the provenance tracking system:
1. merge_policies: when an existing memory node is updated, combine
existing and incoming provenance_ids with order-preserving dedup
via _merge_provenance_ids. ArchiveBuilder prefers the merged list
from plan.merged_fields over the raw candidate field.
2. ProvenanceResolver: build_id accepts list[str] as detail for
archive source_type (resolver handles comma join internally).
parse_id returns list[str] for archive, str for others.
Validation centralized in validate_input — only archive allows
list detail.
3. extraction/tools: provenance_ids assignment changed from overwrite
(= [prov_id]) to append (.append(prov_id)) so that existing IDs
from prior pipeline steps are preserved.
Co-Authored-By: Claude [glm-5] <noreply@anthropic.com>
| 15 天前 |
| feat: attribute internal tool usage
| 11 天前 |
| merge: integrate origin/dev, keep unified check_uri_access
Resolved conflicts in agfs_context_fs.py and sql_context_fs.py by
keeping the unified check_uri_access() calls from this branch rather
than the inline access logic from dev.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
| 5 天前 |
| feat: add BM25 hybrid retrieval, dream lifecycle, and extraction improvements
- Add BM25 keyword index with Vector-Anchored Fusion for hybrid seed retrieval
- Add DreamService lifecycle subsystem with RecallTracker, SQLRecallStore, and LightDreaming phase
- Merge dual-run extraction results by (category, routing_key) to reduce duplicates
- Raise extraction confidence threshold from 0.5 to 0.6
- Remove L1 (overview) level from index records, enrich metadata with when/who/where
- Add list_archives_since to SQLSessionArchiveStore for dream recall queries
- Integrate recall tracking into RetrievalPipeline and MemoryService
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 21 天前 |
| !85 fix(providers): SQLRelationStore fallback to context_nodes.relations
From: @dawnbreaker28
Reviewed-by: @akushonkamen, @jcp0578
See merge request: opengauss/oGMemory!85 | 3 天前 |
| fix(test): use PorterStemmer.stem() method instead of calling object
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 15 天前 |
| feat(memory): refine compact mechanism runtime state
| 11 天前 |
| fix(test): update 15 test files to match current API signatures
76 tests were broken due to implementation changes outpacing test updates.
All fixes are test-only changes, no source code modified.
Key changes:
- PolicyRouter/ContextWriter: add required registry/policy_router params
- OpenAI providers: update constructor assertions (timeout, http_client, json_mode)
- OpenGauss index: handle auto-table creation, MERGE INTO syntax
- Misc: attribution, truncation, query planner, health check, outbox liveness
Result: 908 passed, 12 skipped, 0 failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 25 天前 |
| feat(memory): refine compact mechanism runtime state
| 11 天前 |
| chore: bootstrap ContextEngine agent team scaffold v2
团队协调文件:
- CLAUDE.md: 完整 v3.1 设计(URI规范/写入策略/检索规则/接触点/commit规范/待决事项)
- team/tasks.md: Phase 0/1/2/3 全量任务(含 providers + service + 里程碑 commit 任务)
- team/roles/: 五个 Teammate 详细角色说明
- team/LEADER_PROMPT.md: Leader 分阶段 spawn/解散 Teammate 的完整操作说明
项目骨架:
- core/ extraction/ commit/ index/ retrieval/ providers/ service/ tests/ 目录结构
- agfs/: OpenViking AGFS(git@github.com:c4pt0r/agfs.git)
- pyproject.toml + .gitignore + 各包 __init__.py
| 2 个月前 |