Skip to content

Reuse unchanged community summaries - #42

Merged
adoresever merged 1 commit into
adoresever:mainfrom
junyangyan4-svg:codex/summary-reuse
Aug 1, 2026
Merged

Reuse unchanged community summaries#42
adoresever merged 1 commit into
adoresever:mainfrom
junyangyan4-svg:codex/summary-reuse

Conversation

@junyangyan4-svg

Copy link
Copy Markdown

Summary

  • compute a stable member signature for each detected community
  • reuse existing summaries and embeddings when the member set is unchanged
  • backfill and index the new signature field in gm_communities

Why

This avoids regenerating the same community summary when a community has not materially changed.

Split from #39.

Verification

  • npm test
  • npx tsc --noEmit

@junyangyan4-svg
junyangyan4-svg marked this pull request as ready for review April 6, 2026 05:35
@adoresever
adoresever merged commit e0a3983 into adoresever:main Aug 1, 2026

@adoresever adoresever left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

核心方案已采纳并合并:复用未变化社区的摘要能够明显减少重复 LLM 调用。合并时补充修正了社区 ID 变化后的摘要复用顺序,并加入迁移/回归测试。感谢贡献。

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