合并受阻
🤖 正在生成合并请求摘要,请稍候…


🤖 AI 代码检视正在进行中,请稍候…


Welcome To openEuler Community
Hey @jie-qi , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: sig-intelligence ,
and any of the maintainers: @fromhsc, @gogoxiaoxiao, @huzhengce, @kaitiandu, @leon-wang2021, @liumiao27, @lyhu, @wqianli ,
and any of the committers: @chantsztung, @jie-qi, @vanient9gap, @xiangyou_xie, @xtchen .


⚠️ 本次变更过大(25 个可审文件、3694 行,预估需 4 轮分片审查),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


⚠️ 本次变更过大(25 个可审文件、3694 行,预估需 4 轮分片审查),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


/check-cla


CLA Signature Guide
@jie-qi , thanks for your pull request.
The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
| Commit | Reason |
|---|---|
| c7ad5d04 test: cover configured MCP sessi... | the email used in the commit is an invalid email! please check all commits. |
To sign CLA, click here.
To check if your email is configured correctly, refer to the FAQs.
Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.


概述
完善 RAM-A-MEM 的输入参数和运行时配置约束,增强 Pipeline 与存储故障的可观测性,并补充记忆摄入、检索、幂等、Rerank 和日志行为的自动化验收用例。
主要变更
fail_fast行为。RAM_A_LOG_FORMAT支持json和compact日志格式,通过RAM_A_LOG_SOURCE控制源码位置输出;补充七阶段 Pipeline 事件、稳定诊断字段及敏感内容脱敏。fail_open行为;仅在显式启用fail_open时,Rerank 失败才返回 Rerank 前的 Hybrid 排序结果。兼容性与安全性
验证结果
cargo test -p memory-mcp:146 个测试通过。cargo test -p memory-pipeline:40 个测试通过。cargo check --workspace:通过。cargo clippy -p memory-mcp --all-targets -- -D warnings -A clippy::field-reassign-with-default -A clippy::items-after-test-module:通过。rustfmt --edition 2021 --check。git diff --check:通过。当前分支基于最新的
upstream/master,领先 7 个提交,没有仅存在于上游的新增提交。