Skip to content

feat(memory): 提高记忆写入与清理门槛 - #29

Merged
yandy merged 1 commit into
mainfrom
feat/memory-write-threshold
Nov 18, 2026
Merged

yandy merged 1 commit into
mainfrom
feat/memory-write-threshold

Conversation

@yandy

@yandy yandy commented Nov 18, 2026

Copy link
Copy Markdown
Owner

变更

  • 主 agent 首条 guideline 增加持久价值与 skip 判据,移除与 description 重复的存储模型说明。
  • extract 跳过只复述仓库状态/已完成工作的内容,以及一条命令即可恢复的事实,同时保留背后的持久决策与约束。
  • dream 主动清理仓库状态回显与低价值记忆,并继续保护有效的流程规则。
  • pi 三通道预算从 2750 调整为 3200(实际 2849),同步 core 注释;不改 description、snippet、索引上限或 dsh 源码。

验证

  • cd memory-core && npm run build && npx vitest run:837 passed,5 skipped。
  • cd pi-memory && npx vitest run tests/prompt-meta.test.ts tests/memory-tool.test.ts:10 passed。
  • npm run typecheck && npm run lint && npm test:全量 1456 passed,6 skipped。
  • 最新 main 基线上的独立代码复审无 Critical / Important / Minor 问题。

@yandy
yandy merged commit 13e605f into main Nov 18, 2026
8 checks passed
@yandy
yandy deleted the feat/memory-write-threshold branch November 18, 2026 13:29
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.

1 participant