xuyuanfan
xuyuanfan
我查看了 `MemoryPolicy`、`MemoryScope`,以及当前的 Memory 写入和 Trace 路径。我认为这个功能可以直接接入现有的 Policy 流程,不需要另外创建一套 Memory 路径。 我的初步想法是:reflection 和 delegation 的输出在经过明确的 approve / reject / rewrite 步骤之前,始终保持不可注入状态,同时继承现有的来源和 Trace 元数据。这样也可以避免修改当前的 Backend API。 我可以为这个晋升流程补充同步和异步测试,其中包括一项回归测试,用于确保未经审核的 Memory 永远不会进入 Prompt Context。如果这符合你的设计方向,我可以提交一个聚焦的 PR。
Hi @sfc-gh-jreini I can take this one. I’ll start with regression tests for asyncio.gather() and TaskGroup focusing on span parenting and context isolation across concurrent tasks. I will then trace...
Thanks for checking in! I addressed this in PR #2610, which has already been merged. Sorry I didn't link it back to this issue earlier. Thanks for the follow-up!