notes: Compact vs Dream 机制卡 - #144
Open
joyehuang wants to merge 1 commit into
Open
Conversation
includes SiteStats.astro neon type fix (same as #118) for clean check on branches cut from main
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/content/notes/0926-compact-vs-dream.md">
<violation number="1" location="src/content/notes/0926-compact-vs-dream.md:15">
P3: The two relatedNote IDs (`0926-akashic-memory-design`, `0926-personamem-v3-mem0-failure-modes`) point to notes that don't exist in src/content/notes. The notes page filters relatedNote against the notes collection (src/pages/notes/[...id].astro:46-54), so these references silently resolve to nothing and the related-notes section renders empty. Either add the planned notes or drop/comment the references until they exist.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| status: ready | ||
| source: https://github.com/earendil-works/pi | ||
| relatedNote: | ||
| - 0926-akashic-memory-design |
Contributor
There was a problem hiding this comment.
P3: The two relatedNote IDs (0926-akashic-memory-design, 0926-personamem-v3-mem0-failure-modes) point to notes that don't exist in src/content/notes. The notes page filters relatedNote against the notes collection (src/pages/notes/[...id].astro:46-54), so these references silently resolve to nothing and the related-notes section renders empty. Either add the planned notes or drop/comment the references until they exist.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-compact-vs-dream.md, line 15:
<comment>The two relatedNote IDs (`0926-akashic-memory-design`, `0926-personamem-v3-mem0-failure-modes`) point to notes that don't exist in src/content/notes. The notes page filters relatedNote against the notes collection (src/pages/notes/[...id].astro:46-54), so these references silently resolve to nothing and the related-notes section renders empty. Either add the planned notes or drop/comment the references until they exist.</comment>
<file context>
@@ -0,0 +1,70 @@
+status: ready
+source: https://github.com/earendil-works/pi
+relatedNote:
+ - 0926-akashic-memory-design
+ - 0926-personamem-v3-mem0-failure-modes
+draft: false
</file context>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pi compact 源码级拆解 / Claude AutoDream 与 Platform Dreams / 压缩管腾窗口巩固管记什么 / 我们缺的 dream 层。
止步 PR 不合并。bun run check 0 errors。
Summary by cubic
Adds a reference note distinguishing Compact (context-window compression) from Dream (long-term memory consolidation) in agent memory stacks, plus a small Neon query type cast in
SiteStats.astrosobun run checkstays clean.SiteStats.astrochange casts theneonquery result explicitly; behavior is unchanged.Written for commit 56532a3. Summary will update on new commits.