Skip to content

v0.10.0 — community chunker fix, Windows/macOS/Linux hardening, /remember + regression gate

Choose a tag to compare

@IvenKooLab IvenKooLab released this 21 Nov 09:23
· 48 commits to main since this release

Changelog

A hardening release around the v0.9.0 console/graph foundation: one community chunker fix, a ten-fix Windows pass, a five-fix macOS pass and a Linux container fix — plus the wire-compatible capture endpoint and a retrieval regression gate.

New features

  • POST /remember — wire-compatible memory capture for native clients.
  • Exact-key state, memory health and a retrieval regression gate — scripts/eval_retrieval.py refuses to run without a committed baseline; CI lands the gate.
  • Console hit cards lead with human-readable note titles (frontmatter title: → first heading → name:), extracted server-side with an mtime cache.
  • llms.txt for AI assistants, lifecycle governance docs, refreshed share landing page.

Fixed

  • Chunker ate fenced examples and citations — restored by @curforever in PR #26 (first-time contributor — thank you!), with the CommonMark fence rules then ported to the native Rust chunker.
  • Windows (10 fixes): a second serve-http could silently share a live port; cp936 consoles crashed on piped emoji output; HTTP-boundary tests broke on symlink privileges; eval scripts crashed after scoring (WinError 32); tie-order listings were glob-order accidents; hit-card titles went stale on in-place rewrites; Word owner-lock files and Explorer metadata warn-spammed every ingest; rapidocr's tesseract probe killed a reader thread on Chinese Windows; drive-letter case zeroed a live source's chunk count.
  • macOS (5 fixes): hidden directories (.trash!) were indexed — soft-deleted memories came back to life; AppleDouble ._*.md sidecars became garbage chunks; case-insensitive APFS volumes reported 0 chunks for differently-cased (live) source paths — new loci.fsutil.realcase; .MD uppercase extensions were skipped by harness presets; a TCC privacy block looked exactly like an empty source.
  • Linux: C-locale containers (docker without LANG) crashed on the first CJK/emoji print — the tolerant-output guard exempted ASCII streams; port-occupied hints gained an ss alternative.

Install and upgrade

pip install "loci-rag[pdf,docx,ocr]"

Or from the attached files (Python 3.11+):

python -m pip install --upgrade ./loci_rag-0.10.0-py3-none-any.whl
  • .whl — cross-platform Python package.
  • .tar.gz — Python source distribution (sdist).

Verified

  • Offline suite green on Windows (425 passed) and CI (Python 3.11–3.13 matrix, native Rust, macOS desktop shell, retrieval gate).

更新日志

围绕 v0.9.0 控制台/图谱地基的加固版本:一个社区 chunker 修复、Windows 十连修、macOS 五连修、Linux 容器一修——外加线协议兼容的记忆采集端点与检索回归门。

新功能

  • POST /remember:面向 native 客户端的线协议兼容记忆采集端点。
  • 精确键 state、记忆健康度与检索回归门:scripts/eval_retrieval.py 无 committed 基线即拒绝运行;CI 已接入该门。
  • 控制台命中卡以人类可读笔记标题打头(frontmatter title: → 正文一级标题 → name:),服务端提取带 mtime 缓存。
  • 面向 AI 助手的 llms.txt、生命周期治理文档、分享落地页刷新。

修复

  • Chunker 吞掉围栏示例与引用——由 @curforever 在 PR #26 恢复(首位外部贡献者,感谢!),CommonMark 围栏规则随后移植到 native Rust chunker。
  • Windows(10 项):第二个 serve-http 可静默共占活端口;cp936 控制台管道输出 emoji 即崩;HTTP 边界测试因 symlink 特权全灭;eval 脚本算完分后崩(WinError 32);mtime 并列时列表序退化成 glob 序;就地重写后命中卡标题失效;Word 属主锁文件与 Explorer 元数据每次 ingest 刷警告;中文 Windows 上 rapidocr 的 tesseract 探测杀死读线程;盘符大小写让活跃来源块数归零。
  • macOS(5 项):隐藏目录(.trash!)被索引——软删除的记忆复活了;AppleDouble ._*.md 边车变成垃圾块;大小写不敏感 APFS 卷对大小写不同的(活跃)来源路径报 0 块——新增 loci.fsutil.realcase;harness 预设跳过大写 .MD 后缀;TCC 隐私拦截看起来与空来源一模一样。
  • Linux:C locale 容器(docker 无 LANG)在首个中文/emoji 输出即崩——tolerant-output 守卫豁免了 ASCII 流;端口占用提示增加 ss 备选。

安装与升级

pip install "loci-rag[pdf,docx,ocr]"

或从附件安装(Python 3.11+):

python -m pip install --upgrade ./loci_rag-0.10.0-py3-none-any.whl
  • .whl:跨平台 Python 安装包。
  • .tar.gz:Python 源码发行包(sdist)。

验证

  • 离线套件 Windows 全绿(425 passed),CI 全绿(Python 3.11–3.13 矩阵、native Rust、macOS desktop shell、检索门)。