makecindy / makecindy/cindy

[1991][PR6b] 在 Pi context hook 中按需回灌 Cindy memory digest

Open
#2,017 2 comments 0 reactions 1 assignee Claimed by @zqchris View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

父 Issue:#1991
前置:PR1 runtime manifest;建议在 PR4 后推进

## 目标
把已有 compaction digest 在模型需要时回灌 Pi context,闭合“写入记忆但模型不知道”的链路。

## 非目标
- 不重新设计 Cindy memory 存储。
- 不把所有 digest 常驻注入每轮上下文。
- 不与 compaction 前提示或 tool_result 脱敏混在同一 PR。

## 验收
- [ ] digest 只按需回灌且有 token 上限。
- [ ] 同一 digest 不会重复注入。
- [ ] Pi 不支持 context hook 时正常降级。
- [ ] 长会话 compaction 后可验证模型获得必要摘要。

独立 session、独立 worktree;PR 描述使用 `Refs #1991` 并关联本 Issue。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.