Skip to content

Forward memory extraction rules to octop-memory - #292

Merged
Bosheng0422 merged 1 commit into
developfrom
feat/memory-extraction-rules
Nov 26, 2026
Merged

Bosheng0422 merged 1 commit into
developfrom
feat/memory-extraction-rules

Conversation

@Bosheng0422

@Bosheng0422 Bosheng0422 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

关联 TencentCloud/Octop#2963。

在 HarnessAgentConfig 中加入 memory_extract_keep_rules 和 memory_extract_skip_rules,支持校验、序列化往返以及向记忆服务透传。旧版记忆库搭配显式规则会报告清晰的配置错误。单独配置 token 预算仍可使用。

依赖与发布顺序

审查和集成顺序为 octop-memory #57 → octop-harness #292 → Octop #3056。这是第二步,依赖前置记忆库提供规则支持。对应包发版后再更新下游依赖下限和锁文件。

验证结果

  • 联用本系列的记忆库源码和隔离的 PostgreSQL 运行 make all,Ruff、mypy 及 pytest 均通过。pytest 为 2125 passed,27 skipped。
  • 实际通过 Harness 捕获对话并触发提取,确认 Candidate 和 Episode 两次模型调用都收到规则。回归用例也覆盖旧版记忆库、配置往返和 token 预算透传。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants