notes: 跨会话检索 4 类方案卡 - #141
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-session-search-approaches.md">
<violation number="1" location="src/content/notes/0926-session-search-approaches.md:4">
P3: This is the only note without an English mirror (xxx.en.md). Every other note in the collection ships one, feeding the notesEn collection and /en/notes routes, so this research note will be invisible to English readers. Add a paired .en.md translation for consistency with the rest of the collection.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| --- | ||
| title: 跨会话检索的 4 类方案:recall 问题不是语义搜索问题 | ||
| description: 自建 session search 前的完整方案调研——grep 脚本 / SQLite+FTS5 索引 / 向量语义检索 / 内置记忆层四类的代表项目、优劣与取舍;核心判断:「大多数查询不是语义搜索问题,是 recall 问题」;以及 CLI + 扩展双层的最终选择理由。 | ||
| date: 2026-09-02 |
Contributor
There was a problem hiding this comment.
P3: This is the only note without an English mirror (xxx.en.md). Every other note in the collection ships one, feeding the notesEn collection and /en/notes routes, so this research note will be invisible to English readers. Add a paired .en.md translation for consistency with the rest of the collection.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-session-search-approaches.md, line 4:
<comment>This is the only note without an English mirror (xxx.en.md). Every other note in the collection ships one, feeding the notesEn collection and /en/notes routes, so this research note will be invisible to English readers. Add a paired .en.md translation for consistency with the rest of the collection.</comment>
<file context>
@@ -0,0 +1,66 @@
+---
+title: 跨会话检索的 4 类方案:recall 问题不是语义搜索问题
+description: 自建 session search 前的完整方案调研——grep 脚本 / SQLite+FTS5 索引 / 向量语义检索 / 内置记忆层四类的代表项目、优劣与取舍;核心判断:「大多数查询不是语义搜索问题,是 recall 问题」;以及 CLI + 扩展双层的最终选择理由。
+date: 2026-09-02
+updatedDate: 2026-09-02
+tags:
</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.
grep 脚本/sessiongrep/向量/mem0 四类对比 / recall 问题不是语义搜索问题(及后来的修正)/ CLI+扩展双层选择。
止步 PR 不合并。bun run check 0 errors。
Summary by cubic
Adds a research note on cross-session retrieval approaches and fixes a TypeScript cast in
SiteStats.astro.The note compares 4 solution categories (grep scripts, SQLite+FTS5, vector search, built-in memory layers) and records the conclusion that most cross-session queries are recall problems, not semantic search problems. The chosen architecture is SQLite+FTS5 with a custom pi adapter, delivered as a CLI plus extension dual-layer.
Bug Fixes
SiteStats.astroso branches cut frommainpass checks.Written for commit 5411562. Summary will update on new commits.