Skip to content

Releases

Gatherlight v1.4.1

Choose a tag to compare

@github-actions github-actions released this 30 Sep 18:40

Gatherlight v1.4.1

这一版的重点

  • 后台那些单次的 Claude 调用也收紧了。 「判断」给事实打标签、核对检索结果,自动评分,「语义」补写说法——这些都是应用在
    后台单独启动的一次 Claude CLI 调用。以前它们带着 Claude CLI 默认的命令行工具(Bash、PowerShell),而且从系统公用的临时文件
    夹启动:别的程序在那里放一个 Claude 设置文件,这些调用就会读到。现在它们没有命令行,只从应用自己的临时文件夹启动、不读任
    何文件夹里的设置,并且和规划助手一样带着应用自己的设置(不用 API 密钥和 apiKeyHelper,不执行技能里内嵌的命令)。提取上
    传文件的内容、合并知识库模板这两件事也改为从应用自己的临时文件夹启动。
  • 记忆检索底下的库(Lyntai)从 3.5.1 升到 3.5.3。
All changes in this release

New features

  • Run 16's instrument — a measurement knob for 内置's ONNX export, and the semb8/semb32 arms

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 20:11

Gatherlight v1.4.0

1.4 的重点

  • 规划助手的边界更牢了。 1.3.0 里有几处可以绕过应用边界检查的地方:Windows 上 Claude CLI 默认给的 PowerShell 工具、
    在 Bash 里改写守护脚本、文件名结尾多加一个点。这一版都关上了。计划阶段不再有命令行,规划助手也不再读你自己的
    Claude CLI 设置、API 密钥和 apiKeyHelper。
  • 「判断」可以完全不用 llama.cpp。 新的「内置」重排模型 mMiniLMv2 在应用进程里用 CPU 运行;新装的应用、llama.cpp
    用不了任何显卡、或 BGE 在这台机器上实测太慢时,推荐的是它。
  • 本机「判断」模型都实测了一遍,推荐和说明按结果改写。 长笔记改为分段读;较慢的机器会少读几段,来不及就跳过判断;重
    排模型下载后先实测它在哪个设备上最快。
  • 语义索引:重建和换模型不再丢掉已学到的排序和关联。 嵌入模型能读更长的事实,嵌入模型停下期间写入的事实下次启动会
    补上向量。
  • 记忆检索底下的库(Lyntai)从 3.2 升到 3.5.1;规划助手有了移动、删除文件的工具;「资源」里可以下载 Git Bash。

更新后要知道

  • 以前靠 API 密钥、apiKeyHelper 或别的服务商使用 Claude CLI 的:更新后应用里的 Claude CLI 会显示未登录,请在「资
    源 · Resources」的 Claude CLI 一行点「登录」。用 claude setup-token 得到的订阅令牌照常生效。
  • 没有装 Git for Windows 的机器:规划助手默认没有命令行了(以前用的 PowerShell 去掉了),文件工具和读取、搜索照常。
    需要命令行时在「资源」下载 Git Bash,见下面「命令行(Git Bash)」。
  • 在 1.3.0 里照「推荐」给「判断」选了 Gemma 3 1B 的:建议改选,见下面「本机「判断」模型:实测之后,推荐和说明都改
    了」。
  • 更新后第一次启动可能慢一些。 应用会迁移模型设置;「语义」用 llama.cpp 上的嵌入模型、又有以前读不全的较长事实时,
    还会为已有事实原地补算一次向量。下载过重排模型的,应用第一次自己启动 llama.cpp 时会先测它在哪个设备上最快。
  • 规划助手运行期间,你亲手对 .claude/settings.json、.claude/settings.local.json 和 .mcp.json 的改动会在运行结束
    时被恢复(你的版本留在 state/quarantine 里)。
  • 把这一版导出的「记忆」文件导入到 1.3 或更早的版本时,自动评分的模型设置不会带过去。

规划助手:边界和工具

规划助手的边界更牢了

  • Windows 上不再有应用管不到的 PowerShell。 Claude CLI 在 Windows 上默认会给规划助手一个 PowerShell 工具,应用的
    边界检查看不到它:「执行」阶段它可以改动或删除应用自己的设置、数据库和证书、site.json 和上传的文件。现在应用启动规
    划助手时去掉了 PowerShell 和后台监视工具。
  • 命令行里也关上了几条路。 助手在 Bash 里不能再启动别的命令行或解释器(PowerShell、cmd 等),也不能直接改写或读取应
    用自己的文件(state 文件夹、site.json、.git、.claude 里的设置和 .mcp.json)。守护脚本本身移到了助手的编辑和文件工具
    碰不到的位置;文件名结尾多一个点或空格、大小写不同等写法也不再能绕过保护。
  • 计划阶段和只读的定时任务不再有命令行,也只能读数据文件夹里的内容;命令行只在你批准计划后的「执行」阶段(以及可以
    改动文件的定时任务)才有。
  • 应用启动的规划助手只用知识库和应用自己的设置。 它照常读数据文件夹里的 CLAUDE.md、规则、技能和
    .claude/settings.json(知识库的一部分),但不再读你这台电脑上 Claude CLI 的用户设置(钩子、权限、技能、插件、CLAUDE.md
    等)、数据文件夹里的 .claude/settings.local.json(你交互使用 Claude CLI 时批准过的权限存在这里)和 .mcp.json,也不再连
    claude.ai 里连接的服务 —— 能连的外部服务只有应用自己配置的那些。你自己在数据文件夹里运行 claude 时一切照旧。一次
    运行如果新建、改动或删除了 .claude/settings.json、.claude/settings.local.json 或 .mcp.json,应用会在运行结束时恢复
    原样,运行写的版本留在 state/quarantine 里,并在对话里说明;所以规划助手运行期间你亲手对这三个文件的改动也会被恢复(同
    样留在那里)。
  • 技能和自定义命令里的内联命令(!`…`)在应用启动的规划助手里不再执行。 这种命令在技能展开时直接运行,不经过应
    用的边界检查;应用自带的知识库没有用到它。你自己在数据文件夹里运行 claude 时照常。
  • 这些检查是尽力而为:助手自己写的脚本里运行的代码,或用变量拼出来的路径,仍可能绕过 —— 要完全关上需要操作系统级的沙箱。
    助手用到的每个工具和访问的网址仍都记在对话记录里。

规划助手的文件工具

规划助手有了移动/重命名、删除文件,以及查看文件大小和修改时间的工具。移动和删除一次一个文件,只能用在计划、家庭资料、
知识库和页面的可写范围内(整个文件夹、以及 .claude 里应用自己的设置都不行),也只在「执行」阶段可用;改动和其他编辑一样
出现在改动审阅里,由你确认后才提交 —— 设成自动提交的定时任务除外,和它的其他改动一样直接提交。查看大小和时间的工具只读,
任何阶段都能用。

命令行(Git Bash)

没有装 Git for Windows 的机器上,规划助手默认没有命令行(以前用的是一个应用管不到的 PowerShell),但仍可用上面的文件工具
和读取、搜索。「资源」里可以下载一个 Git Bash(约 59 MB 下载、约 385 MB 安装),下载后助手就有一个应用能把关的命令行,不
需要重启。已经装了 Git for Windows 的机器不用下载;你自己设置过 Git Bash 位置的,应用不改这个设置。

应用启动的其他程序看不到它的设置和密钥

  • 规划助手写的工具(脚本能力)运行时只拿到 Node 需要的几个环境变量,看不到应用的访问令牌等设置;以前继承下来的
    NODE_OPTIONS 甚至可以让这样的工具连上网络,现在关上了。
  • 应用启动的 Claude CLI 会忽略应用启动时环境里的 API 密钥、其他服务商的开关和别的服务地址,启动日志里会写明忽略了哪些
    (只写名字,不写值);用 claude setup-token 得到的订阅令牌照常生效。你这台电脑上 Claude CLI 用户设置里的这类设置(环
    境变量、apiKeyHelper)它也不再读;数据文件夹 .claude/settings.json 里的 API 密钥、apiKeyHelper、服务商开关和服务
    地址,应用在它启动的 Claude CLI 里一律关掉(文件本身不改)。只有系统管理员下发的托管设置,应用管不到。如果你以前靠
    API 密钥、apiKeyHelper 或别的服务商使用 Claude CLI
    ,更新后它会显示未登录 —— 请在「资源 · Resources」的 Claude
    CLI 一行点「登录」。
  • 应用自己的访问令牌和证书密码不再传给它启动的任何程序(应用自己重启时会带上)。
  • 应用的 git 命令不再受启动它的环境里指定仓库位置的 git 设置影响(比如从另一个仓库里启动时,不会误把那个仓库当成数据仓
    库)。

记忆检索 · 判断

「判断」的「内置」重排模型:不需要 llama.cpp

「判断」现在可以选在应用进程里运行的「内置」重排模型 mMiniLMv2:用 CPU 运行,不需要 llama.cpp,没有常驻服务,也没有端口,
在「资源」里下载(约 136 MB)。它只做检索时的核对,写入事实时的主题标注仍由 Claude CLI 完成(每条事实一次调用,消耗账号额
度)。在一台笔记本的 CPU 上实测(Intel Core Ultra 9 185H;240 道提问的双语测试集和 60 条长笔记,不开语义,每次由它挑 8 条
上页):事实都很短时,它判断得和 llama.cpp 上的同一个 mMiniLMv2 一样好,长笔记上没有测出显著差别;每次检索比 llama.cpp 只
用 CPU 时快得多(短事实约 0.47 秒对 0.82 秒,长笔记约 8.1 秒对 20 秒;长笔记最慢的一次约 47 秒)。

所以新装的应用(还没有装 llama.cpp,或它还没回答有没有能用的显卡时)、llama.cpp 用不了任何显卡、检索因为机器太慢跳过了
判断、或 BGE 在这台机器上实测太慢时,「判断」那一行推荐的是它,「资源」也推荐它(新装时排在「语义」的嵌入模型之后) ——
这样的机器上「判断」不需要装 llama.cpp。llama.cpp 看得到能用的显卡时,推荐的仍是 llama.cpp 上的 BGE:长笔记多时它把答
案带进前八的次数明显更多(同一组长笔记上 201/240,llama.cpp 上的 mMiniLMv2 是 182/240);同一个 mMiniLMv2 在一块独立显卡
上也比「内置」在 CPU 上快得多(长笔记约 1.2 秒对 8.1 秒)。「内置」第一次判断时先载入约 1.3 秒,之后一直占用约 0.8–1.0
GB 内存,直到重启服务(实测;更大的检索没有量过)。载入失败时不会一直失败下去:应用隔 1、2、4 分钟、之后每 10 分钟再试一
次,日志里写明下一次在什么时候。

本机「判断」模型:实测之后,推荐和说明都改了

这一版在本应用 240 道提问的双语测试集上把几种本机模型都实际测了一遍(不开「语义」;事实都很短时的排第一和带进前八是这
一版重测的),「资源」和「记忆检索」里的推荐与说明按实测结果改写:

  • llama.cpp 看得到显卡时,推荐的本机判断模型是重排模型 BGE Reranker v2 M3(约 470 MB);新装的应用、llama.cpp 用不了
    任何显卡、或 BGE 在这台机器上实测太慢时推荐在应用进程里运行的「内置」mMiniLMv2,见上文。它只在检索时在本机核对结果;
    写入事实时的主题标注由 Claude CLI 完成 —— 每条事实一次调用,消耗账号额度,事实内容会发给 Claude。
  • Gemma 3 1B 不再标「推荐」。 实测它让答案排第一的次数比不开判断少得多(从 80 题降到 36 题;带进前八没有测出显著差
    别)。它仍然可以选,说明里写着这个结果。如果你在 1.3.0 里照着「推荐」给「判断」选了它,建议在「记忆检索」里改选
    :BGE 重排模型(核对留在本机,但主题标注改由 Claude CLI 完成,要消耗账号额度)、Qwen3 0.6B(标注和核对都留在本机,见下面
    一条),或者改回 Claude CLI。
  • 新增 mMiniLMv2 重排模型(约 133 MB,是 BGE 的四分之一多一点):带进前八的次数和 BGE 测不出差别,但也不能算一样好(事
    实都很短时);把答案排第一的次数比 BGE 多(100 对 91,刚过显著的线);速度更快。在约 900–1,200 个字符的长笔记上(这一项是
    在较早的版本上成对量的),两者都分段读时,它把答案带进前八明显少于 BGE(182/240 对 201/240),差距主要在答案写在 1,000 个
    字符以后的笔记。它一次最多读 512 个词元,较长的事实会分段来读(见下面「长事实分段读」)。模型卡写的许可是 Apache-2.0,但
    训练它用的 MS MARCO 数据只许非商业使用。
  • 新增 Qwen3 0.6B 对话模型(下载约 640 MB;运行时 llama.cpp 为它预留的显存约 2.6 GB):标注和判断都在本机完成,不消耗
    账号额度。实测比不开判断好(答案排第一从 80 题增加到 107 题,带进前八从 127 题增加到 152 题),把答案排第一的次数比 BGE
    还多,但带进前八的次数远不如 BGE。标注也交给它自己写时(这一项是在较早的版本上量的),和用 Claude 写的标注相比没有测出
    显著差别(但还不能排除排第一最多少约 9 个百分点),仍然明显好过不开判断;它写的主题比较宽泛,常把同一个主题标到不相干的
    事实上,靠「同一个人」把事实串起来的检索可能因此受影响,这一点测试集测不出来。

判断时只看事实内容

开着「判断」时,判断一条检索结果有没有回答问题,现在只看这条事实的内容,不再同时附上它的主题。用 Claude CLI
判断时,在 240 题的测试集上两种方式的效果测不出差别,而送去判断的文字少了约四分之一。用本机对话模型判断时也是
这样;用 Gemma 3 1B 和 Qwen3 0.6B 测过,两种方式的差别都不显著。

长事实分段读:重排模型分段读长事实

用重排模型做「判断」时,每条候选事实只送得进有限的长度:BGE 和 LAMAR 以前只读前 1,000 个字符。实测发现,答案
落在读不到的后半段时,重排模型不但找不到它,还会把别的事实排到前面,结果比不开判断更难找到。现在较长的事实会
分成几段(相邻两段有重叠,一条最多 5 段)分别打分,取最高的一段;新增的 mMiniLMv2 一段只读约 250–500 个字符,
也按这个办法读。

在 60 条约 900–1,200 个字符的长笔记上实测(240 道提问,答案在开头、中间、末尾、1,000 个字符之后各 60 题;不开
语义、没有主题标注、每次由它挑 8 条上页):答案在 1,000 个字符之后时,BGE 把答案带进前八从 3/60 增加到 51/60;
答案在笔记末尾时,mMiniLMv2 只读开头是 4/60(不开判断是 29/60)、分段读是 44/60;答案在开头时两种读法没有显著
差别;事实都很短时,结果和只读开头完全一样。长事实和短事实混在一起时也量过(30 条短事实与 30 条长笔记,同样的
提问和设置):答案在短事实里的 120 题,分段读没有让它们显著变少(BGE 94 → 91、LAMAR 101 → 99、mMiniLMv2 98 → 97,
这一轮排除不了最多约 4–6 个百分点的损失),答案在长笔记里的 120 题则多带进 30–69 题。代价是长事实的检索更慢:在一块显卡上、模型已加载时,这些长笔记上
BGE 和 LAMAR 每次检索约 3.2 秒(只读开头时约 2.0–2.2 秒),mMiniLMv2 约 1.2 秒;事实都很短时速度不变。

较慢的机器:少读几段、来不及就跳过判断,并推荐更小的模型

在只有 CPU 等较慢的机器上,应用按这台机器上测到的速度让长事实少分几段来读(最少只读开头一段 —— 那时写在后面的答案读不
到)。应用每次启动后先按它在这台机器上为这个模型实测的速度估计(没测过、测得比显卡上的参考速度还快、或还有设备没测完而
没定下设备时,按那个参考速度;每个设备都没在限定时间内测完时,按测出的下限;实测见下面「重排模型下载后,先实测它在哪个设
备上最快」);估计偏快时,启动后头一次要读的长事实太多,仍可能等满一分钟、那次检索按没有判断时的顺序返回;单独一次等满(比
如显卡正被别的程序占着、模型在重新载入)只会让应用把速度估计放慢几倍,不会让判断停掉,所以真正慢的机器一般要等满两次,应
用才认定它慢。等满之后,遇到长事实的检索先每条只读开头一段,等有一次在时限内做完、测出速度再按它分段。

预计每条只读开头一段也要超过约 48 秒(刚等满过一分钟时是半分钟)的检索,应用当即跳过判断、按没有判断时的顺序返回,不再每
次等满一分钟;最多每十分钟花几秒重新测一次速度,赶得上就恢复。等满一分钟之后的一两分钟里,检索也会先跳过判断,因为那次打
分还在后台算(这是 llama.cpp 上的重排模型;「内置」会在下一段就停下)。跳过的次数写在「记忆检索」的「判断」那一行(「最
近 N 次检索里有 M 次因为这台机器太慢,跳过了判断……」),并建议在「资源」下载「内置」mMiniLMv2 改用它(在应用进程里运行,
不需要 llama.cpp)—— 即使已经装了别的重排模型,「资源」也会推荐它;如果跳过判断的就是「内置」,应用会说明这台机器连它都
来不及,并建议改用 Claude CLI 判断或关掉「判断」。

llama.cpp 用不了任何显卡时,应用直接推荐「内置」mMiniLMv2 而不是 BGE(见上面「「判断」的「内置」重排模型」)。llama.cpp
上的 mMiniLMv2 也在一台只用 CPU 的笔记本上实测过(Intel Core Ultra 9 185H,不用显卡,llama.cpp b10549;60 条约 900–1,200
个字符的长笔记、240 道提问、不开语义、没有主题标注、每次由它挑 8 条上页):mMiniLMv2 分段读每次检索约 17.5 秒、每次都
在一分钟内判断完,答案带进前八 180/240(不开判断 104/240);同一台机器上 BGE 几乎每次都来不及判断,结果和不开判断一样
(104/240)。LAMAR 没有在只用 CPU 的机器上量过。集成显卡也算显卡,所以只有集成显卡的笔记本不会因为这一条被推荐「内置」
mMiniLMv2 —— 那种机器见下一条。

重排模型下载后,先实测它在哪个设备上最快

下载重排模型后,应用下一次自己启动 llama.cpp 时,会先在 CPU 和每块显卡上各测一次它的打分速度(一个一个测,每个几秒到一分
多钟;启动画面会说正在测哪一个,「资源」里的「启动」按钮和「记忆检索」里选模型时会说测了多久),之后让它在最快的那个设备
上运行。已经下载了重排模型的,更新到这一版后应用第一次自己启动 llama.cpp 时也会测。测到的速度、选的设备和日期写在「资
源」里它那一行。某个设备没测出结果(比如当时显卡正被别的程序占着)时,之后应用每次自己启动 llama.cpp 时会再测它,一共最
多三次;还有速度不明的设备(比如上次没能载入模型)等着重测时,应用先不替它选设备,仍由 llama.cpp 自己选 —— 上次在限定时间
内没测完的设备已经比测出结果的慢,不用等它;模型文件、llama.cpp 版本、设备列表或应用的测法变了会重新测,更新显卡驱动不
算。只有重排模型这样选设备,嵌入模型和对话模型仍由 llama.cpp 自己选;正在运行的 llama.cpp 不是本应用启动的时候,应用不
替它测。

为什么:在一台笔记本上(Intel Core Ultra 9 185H 自带的 Arc 集成显卡,llama.cpp b10549),两个重排模型在集成显卡上都比同一
台机器的 CPU 慢(mMiniLMv2 约 6–7 倍,BGE 约 3 倍)。llama.cpp 列出的设备里看不出哪块是集成显卡,机器上只有集成显卡时它
自己就会用上那块。只让它看到这块集成显卡时,应用为两个模型都选了 CPU;BGE 连在 CPU 上,按测到的速度推算,一次默认检索(最
多给判断看 96 条,每条都是约 1,000 字的长事实)也约要 130 秒,超过应用送出一次判断的约 48 秒上限,所以「资源」测完就改为
推荐「内置」mMiniLMv2(还有速度不明的设备等着重测时先不改)。同一台笔记本能用它的独立显卡(RTX 4080 Laptop)时,两个模型
都选了独立显卡,和 llama.cpp 自己选的一样,所以在那台机器上,重排模型运行的设备没有变。这些都只是一台机器上的数。BGE 要
下载之后才测得出,所以只有集成显卡的机器上,「资源」一开始仍会推荐 BGE,测出太慢后才改为推荐「内置」mMiniLMv2。

判断卡住时,检索结果照常

本机对话模型偶尔会一直生成下去不停。以前「判断」这样卡住时,整次检索会在两分钟后退回成只按文字匹配的结果。现在判断最
多等一分钟:等不到就当这次没有判断,检索照常给出原来的排序。应用调用本机对话模型时会要求它关掉「思考」,启动它时也
会限制它一次最多生成的长度,所以像 Qwen 这样会「先想一想」的模型不会每次都想半天。

记忆检索 · 语义和索引

本机嵌入模型能读更长的事实

「语义」用 llama.cpp 上的 EmbeddingGemma 时,以前一条事实只读得进约 750 个汉字(英文约 2,500 个字符),更长的事实建立不
了向量。现在它一次读满自己的上限 2,048 个词元(实测约 3,000 个汉字、约 10,000 个英文字符);显存多用约 46–83 MB,短查询
的速度不变(一块独立显卡上每次约 31 毫秒)。更早写入、当时太长而没有向量的事实,更新后第一次启动时会补上:应用会为已有的
事实原地重新计算一次向量(这次启动因此会慢一些),已学到的排序和关联都保留。超过上限的事实仍能按关键词和图谱找到,只是没
有向量,应用也不会一直重试它们;不过开着「语义」时,这样的事实比关掉「语义」时更难进前八(测试集里问 30 条超长笔记的 120
道提问,开着时带进前八 22 道、关掉时 59 道)。也试过把超长的事实分段、合成一个向量(llama.cpp 上的 EmbeddingGemma,同一
测试集):超长笔记本身更容易找到了,但短事实和跨语言的提问反而更难找到(带进前八分别少约 13 和 20 个百分点),所以没有采用。

重建语义索引不再丢掉已学到的排序和关联

以前在「记忆检索」里重建语义索引,会丢掉图谱已经学到的排序和关联,每条事实还要重新做一次主题标注(开着「判断」时消耗账
号额度)。现在用嵌入模型时是原地重新计算向量:每条事实一次嵌入,不调用模型标注,排序、关联和主题都保留。实测一百条短事实
:llama.cpp 上一块独立显卡约 3 秒、只用 CPU 约 6 秒,内置嵌入模型约 5 秒。之前没有索引的事实会顺带补建,开着「判断」时
这些事实每条多一次模型调用。

  • 更换嵌入模型后不用再手动重建:重启服务时会自动为已有的事实重新计算向量(重启因此会多花一些时间,每条事实约 30–60
    毫秒,这期间应用显示正在启动)。重启之前点「重建索引」会被拒绝并说明原因 —— 以前会用旧模型算一遍、显示成功,重启后「...
Read more

Gatherlight v1.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 16:12

Gatherlight v1.3.0

记忆检索升级到 Lyntai 3.2

记忆检索底下的库(Lyntai)从 3.0.2 升到 3.2。大部分改动在库内部,家里能感觉到的是下面几件。

按「这条事实是关于什么的」来问,现在和其它结果一起排序。 开着「判断」时,每条事实写入时都会被标上
主题(比如「配偶」「证件」)。以前按主题命中的结果是应用自己在排好的结果后面追加的,所以它没有「记得多
牢」这个数,只能标一句 matched:"subject"。现在由检索引擎本身按主题取候选、和其它结果一起排名,这类结果
也带上了真实的记忆程度,那个标记就不再需要了。

如果「语义」用的是本机模型(llama.cpp 或内置),升级后第一次启动会重建一次事实索引。 Lyntai 3.2 改了
向量的存放位置,旧位置上的向量不会再被读到;不重建的话,语义检索会悄悄地什么都找不到。重建会让这些事实
的「常用 / 久未用到」记录和彼此的关联从头开始积累。没有开本机模型语义的家庭不受影响,索引原样保留。
重建只在本机模型真的能响应时进行:如果那次启动时它没有响应,索引保持原样、启动时会提示,下次启动再重建 ——
不会在模型不可用时把重建记成「已完成」。

评分器不会再意外用到本机的判断模型。 以前为了让本机判断模型能被调用到,应用必须把它加进一个全局的
候选列表,副作用是评分器在 Claude CLI 失败时可能退到那个本机模型上。库已经修好了根本问题,这个绕法已删除。

库里顺带带来的两处变化:

  • 本机判断模型响应慢(超时)时,以前会让这条事实这次没能进索引,要等下次启动才补上;现在只是这次少了
    主题标注,事实照常入索引。
  • 检索排序不再让「显著性」参与排名(库在多种语言和语料上测过,这样漏检更少),结果顺序可能有细微变化。

更新 Claude CLI 时不会再因为「正在使用」而失败

应用自己安装的 Claude CLI 可以在「资源 · Resources」里一键更新。以前如果更新时它正在运行(聊天进行中、
后台任务、或者应用刚好在检查登录状态),更新会失败,只显示「下载失败:Access to the path is denied.」——
Windows 不允许覆盖正在运行的程序。本来就有一个退路(把旧文件改名挪开,再放入新版本),但它从来没有
生效过。现在更新会在后台完成,正在进行的对话不受影响;旧文件会在下一次更新时自动清理。

用自己装的 Claude CLI(没有通过「资源」安装)的家庭不受影响,应用也从不替你更新它。

判断 可以改用本机的「重排模型」

「校准 · Cortex → 记忆检索 → 判断 → 本机模型」里,llama.cpp 的模型列表现在可以选重排模型:LAMAR 600M
或 BGE Reranker v2 M3,在「资源 · Resources」面板下载,每个约 470 MB。选好后重启服务生效。

它只接管检索时的判断:在本机完成,不消耗账号额度,不联网,每次检索也不用再等 9–17 秒的 CLI 启动。
写入事实时的主题标注由 Claude CLI 完成:每条事实一次调用,消耗账号额度,事实内容会发给 Claude ——
重排模型只会打分,不会写标注。如果你之前用本机的对话模型做判断,换成重排模型后,事实会从这时起开始发给
Claude。没有已登录的 Claude CLI 时,只是不做主题标注,检索时的判断照常 —— 这时「判断」一栏、选用时的提示和
启动提示都会直接说明主题标注现在没有在做,以及原因。

在 llama.cpp 已经运行时才下载的模型,也可以直接选用。 llama.cpp 只在启动时读取模型目录,所以选用一个它还
不认识的新模型时,应用会重启它自己启动的 llama.cpp(几秒钟)再做自检。如果「语义」正在通过这个 llama.cpp 生成
向量,为了不让这几秒里写入的事实丢掉向量,应用不会自动重启,而是请你重启服务后再选。如果 llama.cpp 不是本应用
启动的,应用不会去关它,会告诉你该怎么做。

很长的事实不会再让整次判断失效。 重排模型一次只能读有限长度的文字,以前一条超长的事实会让包含它的每次
检索都整批失败(判断悄悄不起作用)。现在每条候选只把开头约 1000 个字送去打分。

选用前会先做一次自检。 用一道问题和两段文字测它:答案放在后面,另一段文字和问题用词更像、却没有回答。
答案排不到前面的模型文件会被拒绝,并说明原因 —— 有些转换出问题的模型文件能正常打分,却把顺序排反了。

实测的取舍(本应用 240 题的双语测试集,完整数据在 docs/judge-bench.md):

  • 重排模型让正确的事实出现在前八条结果里的次数多得多:从不开判断的 125 题增加到 203–208 题。问法和事实
    不是同一种语言时尤其明显 —— 跨语言的 60 题里,从 6 题增加到 48–49 题。
  • 但它很少把答案排到第一:只从 79 题增加到 86–90 题。它决定哪八条出现,先后还是按原来的排序。
  • Claude CLI 判断正好相反:排第一的从 79 题增加到 132 题,前八条里却只到 133 题;而且每次检索要慢约 20 倍
    (约 9.5 秒;重排模型约 0.5 秒,是在有显卡、模型已加载时测的,只用 CPU 的机器可能慢得多)。
  • 两个候选模型在这套测试里没有测出差别(「带进前八」这一项略偏向 LAMAR,但不足以下结论)。推荐 BGE
    只是按事先定好的规则取较小的文件,两个文件只差 1.4 KB。

判断现在看得到事实本身

以前开着「判断」时,Claude 判断一条检索结果有没有回答问题,看到的只是这条事实的主题(比如「周末市场」),
看不到事实本身(比如「周六周日早上七点开门」),所以常常判断成「没有答到」。现在它看到的是事实的内容(连同
主题)。在同一套 240 题的测试上,排第一的答案从只看主题时的 120 题增加到 132 题。

本机运行时不在了,判断退回 Claude CLI 时不会再向 Claude 要本机模型

如果「判断」用的是本机的对话模型,而本机模型运行时后来不在了(被删掉,或更新失败),判断会退回到 Claude CLI。
以前退回之后,应用还拿那个本机模型的名字去问 Claude —— Claude 不认识它,主题标注和检索时的判断就悄悄地都没有
了,没有任何报错,面板上还写着「Claude CLI · 那个本机模型」。现在退回后用的是 Claude CLI 自己的模型(默认
haiku),面板上显示的也是它。

选模型时直接看到它的说明

在「记忆检索」里选模型时,选中的模型下面会直接显示它的说明 —— 比如重排模型只接管一半的判断、它实测的数字。
以前这些说明只在「资源」面板的「本机模型」表格里。列表里的模型也按名称显示(比如「LAMAR 600M(Q5 · 判断 ·
重排)」),自己放进去的模型文件会标出它是重排模型还是对话模型。

All changes in this release

New features

  • 判断 can verify with a llama.cpp reranker — screened before binding, tagging stays on the CLI
  • rerankers get reranking = true + a whole-pair batch, and warm through /v1/rerank
  • a GGUF has three kinds — chat, embedding, reranking — and two pinned rerankers
  • rerankers are labelled 重排 · 判断, and the picker shows the chosen model's note
  • judge-bench re-analyses saved runs, pairs across runs and rerankers, and states equivalence with an interval
  • judge-bench measures judge noise with an A/A twin of the content arm
  • judge-bench — every way of judging a recall, on one fixture, from identical snapshots
  • measurement-only knobs for the verdict combination and the judge's input

Fixes

  • llama.cpp refusals reach the 语义 bind and the startup warning, and the 判断 group claims only what was measured
  • llama.cpp start and restart are serialized, and a restart never runs while anything writes through it
  • an upgrade no longer strips every vector — llama.cpp starts first, and nothing indexes while the embedder is down
  • the 判断 picker names a model by what it is — catalogue names, and a kind on a dropped-in GGUF
  • the reranker pair note says what its "6" counts — six distinct questions, and on which metric
  • the measurement knobs are logged as Warnings, not only printed to a stdout the Host drops
  • cap what the reranker is sent per candidate — one long fact failed every recall that surfaced it
  • a reranker judge with a signed-out CLI says tagging is not happening — row, toast and warning
  • a model downloaded while llama.cpp runs can be bound — our router restarts, an adopted one is explained
  • the 本机模型 group sentence on 判断 no longer promises no quota — a reranker's tagging spends it
  • review of the reranker docs — one mechanism, configuration-bound LoCoMo, 内置 on 判断 is unbuilt
  • check-doc-refs checks a qualified Type.Member against the type, outside comments
  • stale user-visible text — no retired Ollama, the reranker's tagging spends quota, 内置 means one thing
  • a reranker binding says the facts go to Claude, and ChecksOnly is stated rather than inferred
  • the reranker screen uses a pair that overlap ranks BACKWARDS, measured on both real rerankers
  • model notes compare with the option a household actually has, not a retired Ollama one
  • the reranker screen answers every failure with a sentence — timeouts, refusals, short replies
  • what a reranker binding moves is said from the source — the checking, never the tagging
  • a judge that fell back to the CLI asks for the CLI's model, not the GGUF it fell back from
  • judge-bench uses a paired (Agresti–Min) interval, saves before it analyses, and can recover a run from its row stream
  • judge-bench's equivalence interval accounts for the disagreement rate, not only its split
  • judge-bench — paired significance, stricter fail-open detection, verified seed reuse
  • judge-bench measures what it claims — errors, pinned knobs, shuffled order, serial latency, A/A noise floor, reusable seed
  • questions name their language, and a Japanese fact's third language is Chinese
  • askAll validates the trimmed questions, like askIn; drop a dead constant
  • judge input read once, content-only mode for the bench, and review fixes
  • the Claude judge saw fact TOPICS, never the facts
  • a CLI update over a RUNNING binary failed; claude 2.1.28x system events duplicated

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 02:16

Gatherlight v1.2.0

记忆检索:三层做什么,三个「模型从哪来」

校准 · Cortex → 记忆检索 现在是这个形状。三层互补,不是三选一:

做什么 说明
公式 · Formula 图谱衰减 + 排名融合 + 三元组全文检索 始终启用,不需要设置,也不花钱
判断 · Judgement 写入时标注主题,检索时判断哪些结果真正回答了问题 调整已经检索到的顺序
语义 · Semantic 让换过说法的问法也能命中 改变能不能被检索到

判断和语义各自选「模型从哪来」,答案只有三个 —— 按你要付出什么排:

需要什么
Claude CLI 一个已登录的账号,本机什么都不用装。消耗账号额度,每次调用启动一次 CLI
本机模型 磁盘。两种跑法:llama.cpp 起一个常驻服务,或者「内置」直接在应用进程内跑 ONNX。都不用填地址、不消耗额度
不用模型 什么都不需要 —— 这一层关掉,只靠「公式」

「不用模型」是一个真正的选项,不是一个空位。 以前关掉一层要去按另一个「停用」按钮,于是这一行看起来像
「必须选一个模型」。不用模型也是「模型从哪来」的一个答案,所以它就在同一行里,而且排在最后 —— 它需要
的最少,但也确实少了这一层带来的提升,那句话就写在它的说明里。

顺带说清楚一件事:这两组的名字以前都是错的,而且错的方向相反。 「内置」原来是 llama.cpp 那一组的
名字,可那一组自己的说明里写着运行时和模型都要下载 —— 35 MB 加上 222 MB 到 2.5 GB,怎么也不算内置。把
这个词挪到「什么都不用装」那个选项上之后,又立刻撞上了另一件事:「内置」同时是那个在应用进程内跑的
ONNX 嵌入模型的名字
(资源面板里就是这么叫的)。于是同一个词在一个面板里指「一个真的模型,由我们托管」,
在另一个面板里指「这一层关掉」。

对一个用 Claude CLI 的家庭来说,这是最坏的一种混淆:那个进程内的嵌入模型,恰恰是他们不用另外装、也不用
另外起一个程序就能拿到真向量的唯一选项 —— 而选择器却在告诉他们「内置」的意思是把这一层关掉。而且那一组
还被命名成「llama.cpp」,一个它根本没用到的运行时。现在:本机模型(按代价命名,两个成员都对得上)、
不用模型(它就是这个意思),而「内置」归还给那个真正内置的东西。

语义检索现在也能用 Claude —— 靠改写,不是靠向量

以前「语义」这一层只有本机模型这条路,面板上还写着原因:「Claude 不提供嵌入接口,所以这一层没有它」。
前半句是真的,后半句是错的推论 —— 这一层是我们把它定义成「生成向量」的,所以缺的那个东西是我们自己
定义出来的,不是 Claude 的能力上限。结果就是:一台跑不了本机模型的机器(没有独立显卡、显卡要留给别的
事、或者不想下载几百 MB),在这一层上什么选项都没有,只有一段解释。

现在它有了:写入每条事实时,让 Claude 把同一件事换几种说法再说一遍,一起存进检索索引 —— 之后换个问法
就能命中其中一种。花费在写入那一次调用上,检索时不额外调用、也不变慢(同样的想法放在检索时做,每次
检索要多启动一次 CLI,实测约 9 秒 —— 对一台没有别的选择的机器来说,那比没有这个功能更糟)。

它确实不如向量:存下来的说法只覆盖改写时想到的那些,向量能覆盖没人预料过的问法。同一个问题,向量
可能命中而它可能漏。这句话就写在这个选项的说明里 —— 「更差」和「更贵」是需要说明一个选项的理由,
不是删掉它的理由。

检索能命中「这条事实是关于什么的」

开着「判断」的时候,每写入一条事实都会顺便标注它讲的是什么 —— 「配偶」「证件」这样的稳定标签。这些标签
一直都在存着,但以前没有任何检索路径会去看它们:它们只用来把讲同一件事的记录连起来。也就是说,你已经
为它们付过一次模型调用,却搜不到。

现在搜得到了。问「配偶」,能命中一条正文里只写了「太太」的事实。这类命中会标 matched:"subject",并且
只会补在原有结果后面,不会把本来排得更靠前的结果挤下去。

换个说法也能命中 —— 而且不再只在「什么都没搜到」的时候

「语义 · Claude CLI」把每条事实的其他说法写进检索索引。以前这些说法只有在图谱一条都没答上来的时候
才会被用到 —— 也就是说,只要问题里恰好有个词碰上了别的事实,你花钱买的那些说法就完全没机会。现在全文
检索会把还空着的位置补满,图谱答出来的部分原样保留、顺序不变。

绑定「语义」之后,已有的事实也会补上说法 —— 而且不再重建图谱

以前给「语义 · Claude CLI」重建索引是个空操作:那条路只认嵌入模型,于是绑定它只对之后写的事实有效,
已经攒下来的知识库永远补不上,而面板上那个按钮还会报告成功。现在会真的补。

而且不会再动图谱。改写出来的说法存在事实自己的一个字段里,和图谱无关 —— 以前却要靠重建整个图谱来
生成它们,把衰减位置和已经学到的关联全部清掉,换来的东西一点关系都没有。

修正:「语义」那一行的说明,以前是照着本机模型写的

「语义」这一层的说明和代价一直写着「用本机模型为事实生成向量」「不消耗 token;资料不离开这台电脑」。
这两句话是在这一层只有本机模型那条路的时候写的 —— 后来加上了 Claude 这条路,这两句话没跟着改。

于是:选了 Claude 那条路的家庭,看到的是一句「资料不离开这台电脑」,而实际上每条事实都会发给 Claude
去改写说法,并且计入账号额度。
现在这两句都跟着你选的那条路走:选 Claude 会明说事实内容会发出去、
要花额度;选本机模型仍然写着资料不离开这台电脑 —— 因为那句话对它来说本来就是真的。

实测:多语言提问才是这两层真正起作用的地方

先说一件我们自己搞错的事:之前的实测说「判断」和「语义」在这台机器上没有带来任何改善 —— 那个结论是
错的,错在测量方式,不在这两层。生成测试问题时我们要求「用和事实相同的语言提问」,而同语言提问本来
就能被「公式」的全文检索直接命中,所以这两层根本没有出场机会。与此同时,「语义」改写时被明确要求写出
另一种语言的常见叫法 —— 我们测了除它用途之外的所有情况。

现在按四种提问方式各测一遍(同一份 16 条事实):

提问方式 只用公式 加上判断
同语言 命中 11/16 11/16(没有变化)
跨语言(中↔英) 9/16 11/16
第三语言(日语) 11/16 13/16
混合语言(中英夹杂) 13/16 15/16

除同语言外,每一种都多找回 2 条。 三种互相独立的提问方式给出同一个结果,比任何单独一个数字都可信。
其中「中英夹杂」——也就是平时聊天真正的打字方式——效果最好,16 条里只漏 1 条。

日语提问的基线比英语还好,乍看奇怪:因为全文检索是三元组的,日语问题和中文事实共享汉字,所以它还
能沾上一点字面匹配,而英语完全沾不上。

实测:「判断」和「语义」在这台机器上各带来了什么

都在这个家庭自己的事实上跑的(dev.mjs recall-bench),两条都不好看,但都写在这里:

  • 判断:开和关,结果一模一样(top-1 10/16,MRR 0.646),而每次检索要多等 9–17 秒(五次实测,多数
    在 15 秒上下;只用「公式」是 0.07–0.09 秒)。面板上原来写的是「约 9 秒」—— 那是五次里最快的一次,差不多
    只有实际等待的一半,现在改成了区间。这不是说它
    没用 —— 它确实会把「答到了」的事实往前排,这一点单独验过 —— 而是说在这台机器现有的 16 条事实上,它
    认可的正是本来就排在最前面的那几条。
  • 语义 · Claude CLI:找到真正的原因了,并且修好了。改写的提示词里,「另一种语言的常见叫法」只是三个
    选项之一 —— 而模型每次都挑最省事的那个:实测一条真实事实,生成了 4 条改写,一个英文字母都没有。
    也就是说这一层一直在花钱改写,却只是把同一种语言换个说法,而同语言本来就能被全文检索命中。
    现在提示词要求至少有一行用另一种语言写。同一条事实重新写入:4 条改写里有 1 条是英文,然后用英文提问
    就能命中一条正文全是中文的事实。这正是这一层存在的意义。
    关于「有多大帮助」这个问题,我们测不出可信的数字,并且把话说清楚:检索本身会强化图谱,所以每跑一次
    实测都会改变被测的对象。跑了十来次之后再去比较「有说法 / 没说法」,差出来的一两条无法归因。真正站得住
    的是上面那条直接验证:一条中文事实,用英文提问能命中 —— 这不需要语料规模,一条事实就能证明。给 13 条事实补写说法之后,四种提问方式的结果与补写
    (下面这些数字是在修好之前测的,现在只作为过程记录:当时四种提问方式的结果与补写说法之前完全相同,
    我们还试过让说法挤掉图谱最弱的一条 —— 跨语言和中英夹杂各多找回 1 条,但同语言少 1 条,所以没有采用。
    后来才发现:那时候的「说法」全是同一种语言的近义句,根本不具备跨语言检索能力,所以那一组对比测的是一个
    尚未修好的配置。这里保留,是因为「结论只和它的测量方法一样可靠」这件事值得留个例子。)

本机模型的运行时换成了 llama.cpp,模型都实测排过名

  • 35 MB,对比 Ollama 的 1460 MB;检索质量一样(10 题首位命中 9 题),每次查询 25 毫秒对 69 毫秒。
  • 模型在「资源」面板下载,每一个都按仓库、提交和 sha256 钉住 —— 不是拉一个会变的标签。
  • 每一行都带实测数字和样本量。没量过的就写「未实测」,不给分 —— 对话模型的质量我们还没有按模型量过,
    所以那几行只列延迟和体积。

模型不能从 Ollama 搬过来:Ollama 的 GGUF 文件 llama.cpp 读不了,所以每个模型都是一次新的下载。

不再连接 Ollama 和自填地址的本机服务

这两个选项都去掉了,原因不一样,都写在这里:

  • Ollama:我们对它是「管一半」—— 会检测、会列出它的模型、也依赖它,但只在一部分界面里能下载和删除。
    于是出现过这样的画面:「记忆检索」把某个模型列出来给你选,而整个应用里没有任何地方能加一个或删一个。
    管一半别人的运行时,没有一个说得通的版本。
  • 自填地址的 OpenAI 兼容服务:它是唯一一条从来没有端到端测过的路。所有的测试都只是「拒绝」(非本机
    地址、格式不对、连不上)或者「地址存下来了」—— 从来没有一次是从一个真的在跑的服务上列出模型、算出
    向量、或者拿到一次判断。我们没法为它背书,那就不该把它当成一个选项摆在那里。

如果你本来就在跑 Ollama: 它照样能用,只是不再通过这个应用来管 —— 用 ollama 自己的命令管理模型。
如果你之前把某一层绑在这两个之一上: 升级后那一层会明确告诉你它原来用的是什么、现在该换成哪个。
它不会悄悄换掉 —— 悄悄换的话,判断会跑去花你的账号额度,语义会直接关掉,两件事你都看不见。

Claude CLI 可以在面板里直接登录了

以前没登录时,提示是「在本机命令行运行 claude auth login」。这句话在我们自己装的那种情况下是做不到
的:通过「资源」面板装的 CLI 在数据文件夹里,那个目录从来没有加进 PATH —— 你照着做只会得到「找不到
命令」。

现在「资源」面板里 Claude CLI 那一行会多一个登录按钮,它启动的是这台机器上真正解析到的那个 CLI。
浏览器里完成之后,那一行的状态自己就会变过来。

两点说明:这一步只能在跑着这个服务的那台机器上做 —— 它会打开一个窗口,从别的设备上看不到也点不到,
所以从远程点会被拒绝并告诉你该去哪台机器。另外应用只能打开这个流程,不能替你完成它:登录要在浏览器
里由人来点,没有无人值守的版本。

资源:一份模型清单,已下载和可下载在同一张表里

以前同一个东西有三种画法:内置模型是一张卡片、已下载的模型在一个折叠列表里、还没下载的在一张表里 ——
三个组件、三条左边线,而它们的区别只是一个「装了没装」。现在是一张表,「已安装」是其中一列,你有的排在
你可以拿的前面。

  • 内置的那个模型现在也能删了。 以前它只有「重新下载」,而每个 GGUF 都有「删除」—— 那 222 MB 没有
    任何办法拿回来。
  • 每一行都说清楚跑在哪(llama.cpp 还是应用进程内):两个运行时可能拿着同样的权重但叫不同的名字,不说
    清楚你就不知道自己在删哪一个。
  • 全是空的列会自己收起来。一列里每一行都是「—」,那不是信息,是噪音。

记忆检索面板打开快了:5.97 秒 → 0.3 秒

三个原因,都是量出来的:

  • llama-server --version 要 1.8 秒、--list-devices 要 1.6 秒,而每次打开面板都要跑一遍 —— 为了两个
    只要文件不变就不会变的字符串。现在按文件本身记住,不再按时间记。
  • 连一个没人监听的本机端口,在这台机器上要 2.016 秒才失败(HttpClient 的超时管不到连接这一步)。
    现在前面加了一道 300 毫秒的闸:本机上的服务要么几毫秒内答应,要么就是没在跑。
  • 十六次探测原来是一个接一个做的。它们互不相干,所以现在同时做,而且每个后端花了多久都会记进日志 ——
    「面板慢」是一句没人能验证的话,除非说得出是哪一个慢。

判断用的模型,只有一个地方能改了

这是一个不出声的错:「记忆检索」里绑定判断的模型,和「模型路由」里的一行,是同一个值的两个写入口,
而赢的是后者。于是把判断设成 haiku、后来又把它换成本机模型的人,会让路由去问本机运行时要一个叫
haiku 的模型 —— 而这两层的策略都是「失败就当没这回事」,所以症状是一次模型调用都没有、也没有任何
报错
。现在只有「记忆检索」这一个入口,「模型路由」里那一行去掉了。

公网模式下没开 HTTPS,现在会明确警告

「设置」里选「公网 · WAN」时,访问令牌是必填的 —— 不填服务直接拒绝启动,这一条一直都在。但 HTTPS 只是
一句「建议」
,而且那句话和其他说明一样是灰色的小字:于是「填了令牌但没开 HTTPS」这种配置,看起来和一个
安全的配置一模一样。

而没有 HTTPS 意味着访问令牌是以明文经过互联网传输的 —— 中间任何一环都能读到它,读到就等于拿到这台
机器上全部资料的访问权。现在这种情况会单独标红提示,并且说清楚后果,而不是混在同一句话里。

没有改成「不开 HTTPS 就拒绝启动」:有的家庭是在自己的反向代理上终止 TLS 的,替他们做这个决定不合适。

其他

  • 下载模型有真正的进度条,失败会留在原地写明原因,而不是悄悄消失。
  • 启用一个嵌入模型时,应用会先让它真的算一次向量 —— 算不出来就不保存,免得检索静悄悄地空掉。按钮会写
    「启用中…」并说明在等什么;如果已经知道某个模型不能生成向量,会立刻拒绝,不用干等它载入。
  • 重建索引在后台跑,面板报的是索引覆盖了多少条事实,而不是一份运行历史 —— 状态会自己修正,历史不会。
  • 「记忆检索」那一行里的控件现在高度一致(相同的内边距在 <input>、<select> 和 <button> 上产生的高度
    并不相同),下拉箭头也不再贴着边框。

关于那些实测数字: 凡是写「实测」的地方都注明了样本量和日期。Lyntai 那份「漏检里 0% 是没检索到」的
结论来自 Lyntai 自己的语料,不是你的资料 —— 它说的是一套已经有嵌入模型的检索栈,所以它不能反过来
当作「没有嵌入模型的装机不需要这一层」的理由。这个家庭自己的资料现在量过了 —— 见上面那一节,
两条都没量出好处来,也照样写在这里。

All changes in this release

New features

  • check-doc-refs also verifies links and file paths
  • check-doc-refs — a live doc may not name code that does not exist
  • the subject handles were bought on every write and searched by nothing
  • the app can hold its own Claude login, and 资源 stops waiting on a process
  • the CLI can be signed in from the panel, because our own advice could not be followed
  • three answers to "where does the model come from", each with a reason
  • GGUFs get the same inventory row Ollama models have — and their own port
  • a GGUF shelf — 判断 can finally be given a model to run on
  • a recall layer can bind to llama.cpp — the runtime stops being inert
  • the app now runs llama-server itself — 9/10 recall at 25 ms/query
  • provision llama.cpp — 35 MB where Ollama is 1460
  • the picker says WHOSE runtime it is, and the false claim it hid is gone
  • 判断's cost line says what it costs in SECONDS, not only in tokens
  • measure 内置 like the others — and it is 8/10, not "the same score"
  • give the desktop host's bridge a home, and a drift check
  • measure what 判断 recovers on OUR corpus, not Lyntai's
  • 语义 gets a built-in backend, so it no longer needs Ollama installed first
  • local models are not only Ollama — any OpenAI-compatible service will do
  • each layer picks its backend from the ones that can serve it
  • 资源 lists the models it downloads, beside the runtime that hosts them
  • 资源 owns the models too, not just the runtime that hosts them
  • a backend serves a recall layer by EXISTING, not by passing a filter

Fixes

  • host --dev died silently on a wedged WebView2 profile
  • 语义 offered cross-language as an option, so the model never took it
  • a suite that could not bind reported only that we stopped waiting
  • WAN without HTTPS looked exactly as calm as a safe setup
  • the harness reported the product broken when it had only looked too early
  • the panel quoted the fastest measurement as if it were the wait
  • 语义 promised the data never left the machine while sending it to Claude
  • the phrasing backfill was rebuilding the graph for no reason
  • the judged column counted against the wrong denominator
  • 判断 DOES reorder a recall — I claimed the opposite and was wrong
  • real 语义 on the Claude CLI existed — two wrong names hid it
  • topping up made the two recall paths overlap — hits counted twice
  • the phrasings were reachable only when the graph said nothing
  • 判断 does not reorder a recall — five places said it did
  • the late-arriving fields raced their own retry — and the UI harness had rotted
  • the 语义 rephrasing arm never ran — its two dependencies were never injec...
Read more

Gatherlight v1.1.4

Choose a tag to compare

@github-actions github-actions released this 21 Aug 10:31

Gatherlight v1.1.4

本地模型 search: measured, and the recommendation changed

The models offered for 本地模型 were picked from general knowledge and never tested on the job this app
actually gives them — finding a note whose meaning answers a question worded nothing like it. They have
now been measured, on a mixed Chinese/English set of notes with questions deliberately worded to share no
words with their answers:

model found it in the top 3 per search size
EmbeddingGemma 300M 10 / 10 0.27 s 622 MB
BGE-M3 10 / 10 0.34 s 1.2 GB
Qwen3 Embedding 0.6B 10 / 10 1.57 s 640 MB
Nomic Embed Text 4 / 10 0.07 s 274 MB

Two things changed as a result. EmbeddingGemma is now the recommendation — it was not on the list at
all before. And Nomic Embed Text is marked as unsuitable for Chinese: it was previously suggested for
any computer without a graphics card, and it misses more than half of these searches, every miss being a
Chinese question. If you turned the local model on before this release and kept the suggested model, you
were almost certainly using that one — switching is worth it.

The panel now shows those numbers side by side instead of describing each model in a paragraph, so you can
compare quality, size and speed in one look, and it says what the measurement was and where it is too small
to settle a close call.

The list is no longer a limit. You can type any Ollama model name and use it — a model released after
this version no longer has to wait for the next one. Before saving, the app makes the model compute one
vector: if it cannot, the setting is refused rather than leaving your search quietly finding nothing.

The table also shows when each model was released, because that turned out to predict quality here: every
model that scores badly is two years old, and the same maker's newer version scores 9/10 where its older one
scores 4/10. It is not a rule — BGE-M3 is just as old and still ties for best — so treat it as a reason to
try something newer, especially for a model nobody has measured.

Managing what is on your computer

Models are large, and until now the panel could only add them. It can now show and remove them:

  • 本机模型占用 lists everything Ollama holds on this computer with its size, including models this app
    never suggested, so you can see what trying things has cost you in disk.
  • 删除 removes one. A model the app is set up to use — the search model or the local judge — is refused
    rather than deleted, because losing the search model would show up as searches quietly finding less
    instead of an error telling you what happened.

The model list itself is folded away behind 选择嵌入模型 now: it is something you read once when
choosing, and it was taking up most of the panel even with the feature switched off. It opens by itself when
you have turned the local model on but not yet picked one.

The assistant can judge its own memory on your computer

The part of memory search that labels each note as it is saved, and decides which results actually answered
your question, ran only through Claude. You can now point it at a model on your own computer instead
(校准 · Cortex → Claude CLI 增强 → 本机模型).

It is not a downgrade: on the library's own measurements a local gemma3:4b finds more of what matters and
admits less junk than the reference it was tested against. What you gain is that it stops using your Claude
account for the most frequent call the app makes — memory is touched on every note saved and every search —
it stops needing the network, and it keeps working offline. Changing where it runs needs a restart; turning
it on and off does not.

Chat, planning and everything else still run on Claude. This setting moves only the memory judgement.

重建索引 shows what it is doing

Rebuilding the search index re-reads every note, and with the Claude enhancement on it makes a model call
for each — minutes on a large collection. Until now the button simply greyed out, with no count and no bar,
which was impossible to tell apart from the app having hung; and on a long rebuild the browser could give up
while the work carried on, reporting a failure for something that actually finished.

It now returns immediately and shows progress — how many notes of how many — and reports the result when it
ends. Only one rebuild runs at a time.

The panel also tells you when the index does not cover everything you know, which can happen if a rebuild is
interrupted by a restart. Nothing is lost when that happens: the uncovered notes are still found by keyword,
and the next start quietly finishes the job.

All changes in this release

New features

  • the whole embedding field measured, model deletion, and age as a signal
  • report index COVERAGE rather than a history of rebuilds
  • the recall judge can run on this machine instead of the account
  • measure the embedding models, and make choosing one a comparison

Fixes

  • the model chooser was styled into invisibility
  • fold the model list away, and align the free-form row
  • 重建索引 reports progress instead of going quiet for minutes

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.1.3

Choose a tag to compare

@github-actions github-actions released this 21 Aug 05:49

Gatherlight v1.1.3

You choose how the assistant's memory search works

Finding things in the assistant's memory now has three switches, in the 校准 · Cortex panel alongside
the models each part of the assistant uses:

  • 公式 · Formula — always on, costs nothing, needs no setup. Everything else builds on it.
  • Claude CLI 增强 — labels each fact as it is saved and checks which results actually answered your
    question. Noticeably better recall, but it costs one model call every time a fact is saved and every
    time memory is searched
    . This has been running since the last release with no way to turn it off; it
    stays on by default, but now you can decline it, and the switch takes effect immediately.
  • 本地模型 — uses a model running on your own computer to search by meaning, so a question worded
    completely differently from the note still finds it: asking for "places where you must take off your
    shoes" finds a note that says remove their shoes at the gate. Costs disk space and your own computer's
    time rather than tokens, and nothing leaves the machine. Off unless you turn it on; the panel
    recommends a model for your computer and explains why, and you can pick a different one.

They sit in 校准 · Cortex rather than in a panel of their own because the model the Claude CLI enrichment
uses is a row in that same panel — the switch and the model it drives belong together. That model is now
adjustable there like the others; it was always meant to be, and simply wasn't listed.

The only memory-related item in 资源 · Resources is the Ollama download itself, which belongs there
with the other large files fetched onto your computer.

The first start after updating rebuilds the fact index, and the startup screen shows it under 补全事实索引.
You don't need to do anything, but on a large collection of facts that step takes a little longer than
usual, once. Your facts are never touched by a rebuild; what resets is the ranking weight the index had
built up from use.

The assistant installs its own engine

Chat is powered by the Claude command-line tool, and until now Gatherlight simply expected to find one
already on the computer. On a machine that had never had it, every conversation failed with
「计划阶段未能完成(CLI 报告错误),请重试」 — a message that named neither the cause nor the cure, and
invited you to retry something that could never work.

Now it is listed in 设置 · 资源 · Resources alongside Chromium and Git: one click installs it
(about 265 MB, once, into your data folder so app updates never wipe it), and the panel tells you when
a newer version is out so you can update on your own schedule. The app checks the download's fingerprint
against Anthropic's published checksum before it will run it.

Two things worth knowing:

  • The app still comes up when the tool is missing. Only chat is affected — settings, your plans,
    browsing and imports all work — because the panel that installs it has to stay reachable.
  • Signing in is the one step we cannot do for you. After installing, run claude auth login once
    on the computer running Gatherlight. Until you do, the app now says exactly that — which tool,
    which command — instead of a generic error, and the 资源 panel shows the account once you are in.
All changes in this release

New features

  • the enrichment switch becomes live in cortex, and the setup gets a panel
  • recall quality becomes three independent switches
  • provision the claude CLI instead of assuming the machine has one

Fixes

  • meaning-based recall is a graph OPTION and one scope, not a second member

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.1.2

Choose a tag to compare

@github-actions github-actions released this 20 Aug 16:01

Gatherlight v1.1.2

A fresh install starts on a brand-new PC

Gatherlight keeps your plans in a private version history, and the engine for that is Git. On a
computer that had never had Git installed, the very first launch stopped at
「初始化数据仓库」 with a message about a file it could not find — and the panel that offered to
install Git was itself unreachable until startup finished, so there was no way forward.

Now the app installs the portable Git it needs by itself on first launch (about 37 MB, once,
into your data folder) and carries on starting. Nothing to click, nothing to install first. If the
machine already has Git, nothing is downloaded. If there is no internet at that moment, the message
says so in one sentence and 「重试」 picks up where it left off.

The assistant remembers your facts better

The memory engine underneath the assistant's fact recall was upgraded to a research-grade
forgetting model. What you will notice:

  • Recall now works properly in Chinese. Before, a question in Chinese only found a fact when
    the fact contained the exact same phrase; now it matches the way search should.
  • Facts you actually use stay fresh — without self-reinforcing bias. Looking a fact up keeps
    it from fading, but no longer permanently entrenches whatever the engine happened to surface.
  • Ranking is smarter, using the same rank-fusion method search engines use to combine signals.
  • A second opinion on every lookup. When the assistant searches its memory, a small model now
    double-checks which of the results actually answer the question — so the best answer stops
    hiding behind merely-similar ones.
  • Facts about the same person or place find each other. New facts are labelled with what they
    are about, so "the visa appointment" and "the embassy's address" connect even when neither
    mentions the other.

Nothing to do on your side: existing memory carries over as-is on first start.

All changes in this release

New features

  • recall_facts reports the judge abstention signal (answered)
  • model-backed memory steps, and reinforcement back to default
  • reinforce facts on expansion, not on every recall (Lyntai 3.0 ReinforceOn)

Fixes

  • install git automatically instead of failing behind the startup gate
  • the code review's three findings on the 3.0 adoption

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.1.1

Choose a tag to compare

@github-actions github-actions released this 08 Aug 13:33

Gatherlight v1.1.1

A repair release. Everything here is about backups being restorable and the app staying inside its own
folder — if you are on 1.1.0, update before you rely on a backup.

Backups taken on 1.1.0 could fail to restore

1.1.0 began tidying its version history automatically, which was the right idea and shipped without the
other half. Tidying moves some internal bookkeeping into a compressed form, and a zip cannot carry the
empty folders that leaves behind — so a restore could produce a data folder the app refused to open,
reporting a git error on startup.

Nothing was ever lost. The history was intact the whole time; the folder was simply missing an empty
directory. This version rebuilds it during restore, so archives already taken on 1.1.0 restore
correctly
once you are on 1.1.1 — you do not need to re-export anything. Newly written backups carry
the structure themselves, so they also survive being unzipped by hand.

Restoring no longer loses your pages, or forgets what you approved

Two things were quietly missing from every backup:

  • Your site pages. Any page the assistant built for you — a trip dashboard, a budget view — was not
    in the archive, so a restore lost it. This was easy to miss: the welcome page reappears on its own,
    so the section looked intact while your own pages were gone.
  • Which capabilities you had approved. A restore silently reset those to none, along with any
    customisation of which folders the assistant may write to. The app came back working and simply
    forgot what it was allowed to do.

Both now travel with the backup.

Gatherlight stays inside its own folder

If your data folder happened to sit inside another version-controlled project, a restore could write a
commit into that project instead of Gatherlight's own history. It now refuses to reach outside its
folder, and says so plainly rather than succeeding in the wrong place.

Fixes worth naming

  • The PDF and document tools now use the Node runtime Gatherlight downloads and manages, rather
    than whichever one happens to be installed on the machine. Same behaviour on every install, and one
    less thing to have set up — matching how git and the sandbox already worked.
All changes in this release

Fixes

  • git must not escape the data folder, and 1.1.1 notes
  • a restored data folder must be a working data folder

Other changes

  • restore: import backup (96 files)

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Aug 12:36

Gatherlight v1.1.0

Gatherlight becomes a container for your planner rather than an app with an assistant bolted on.
The agent now works inside walls the app enforces, and everything it can reach — its tools, its pages,
its own new capabilities — passes a gate you control.

Your planner can build its own pages

The assistant can now write pages for your site — a trip dashboard, a budget view — and you approve
them by looking at the rendered page, not at JSON. A page that would not display cannot be
committed at all.

Pages read live data. A table of your trips shows what is in plans/ when you open it, not what
was there when the page was written, so a dashboard stops quietly going stale. There are charts now
too, for the times eleven numbers in a table were the wrong answer.

Nothing it does happens without you seeing it first

  • It can propose a new tool for itself. You see what the tool may read, write and reach before
    deciding; approved, it runs sandboxed with no network unless you granted it.
  • It can ask to connect an external service. That card now says plainly that such a service runs
    on your computer with your privileges — because it does, and nothing else was telling you.
  • A blocked action becomes a decision you can make, instead of the assistant quietly working
    around it.

It waits for you properly

A decision left open — a plan to approve, a diff to review, a question to answer — now survives a
restart
, including the automatic ones after an update. Previously, restarting while something was
waiting threw the work away. The diff you approve is always re-read from disk, so what you approve is
what gets saved.

Past conversations are readable again, and a restart no longer empties the chat.

It remembers what keeps proving useful

The assistant has always been able to note a verified fact — a checked price, a venue's opening hours,
a booking policy — and look it up again later. Until now every one of those ranked the same forever, so
a price you checked in March competed with one you checked yesterday.

Facts now fade when they stop being used and firm up when they keep being right. Nothing is
deleted: a faint fact still comes back when it's the best thing you have, and it tells the assistant how
faint it has become. Facts looked up together also become linked, so recalling one can surface a
related one you never searched for — the booking policy turning up beside the price.

It knows what it can already do

Gatherlight ships purpose-built lookups — fares for a route across dates, room rates, whether a
restaurant actually exists and which link is really it, a hotel's address and phone, a flight number,
visa rules from official sources. The assistant had never been told any of them existed, so it fell
back to generic web reading and, often enough, to asking you.

The same gap explained something quieter: it had stored a handful of verified facts and never once read
them back. It now checks what it already confirmed before researching again, and reaches for the
specific tool instead of the general one. Expect fewer repeated questions about things you settled
weeks ago.

Your privacy, tightened

Every image the app shows — map tiles, library covers, pictures inside plans — now loads through
your own machine
. Before, opening a page could make your browser fetch directly from whatever host
an image URL named, revealing your address and what you were reading. Nothing on a page reaches the
internet on its own any more.

Backups actually restore everything

Backups now include the external services you had connected, so restoring brings them back instead of
silently losing them. A backup file now contains credentials — the file itself says so — so keep
it somewhere you would keep a password.

Restoring an older backup no longer rolls back the app's own safety files. That bug showed up as a
visa PDF refusing to generate; underneath, it had quietly reverted the assistant's sandbox to an older
version until the next restart.

Fixes worth naming

  • The server refused to start when LAN access was enabled with the documented opt-in — it ignored the
    setting entirely. If you chose LAN or WAN access and the app would not launch, that was this.
  • Visa itinerary forms are now described by an editable file rather than baked into the app, so a
    revised form no longer needs a new Gatherlight release. Any field the form does not have is
    reported by name instead of silently left blank.
  • If an update failed to install, Gatherlight could hang on startup instead of falling back to the
    version you already had. It now starts, every time.
  • The welcome page's button did nothing and looked greyed out. It opens your household file now.
  • Backup files were quietly growing — roughly a megabyte per restore, none of it your data. It was
    unpacked version history riding along inside the archive. Gatherlight now tidies that up on its own,
    and a backup taken today is smaller than one from before the feature existed. No history is
    discarded; it is only stored properly.
All changes in this release

New features

  • pack the git object store, so backups stop growing on their own
  • check-tool-docs — a registered tool must be one the agent is TOLD about
  • facts that fade when unused and link when recalled together
  • give the agent a real contract for authoring its own tool
  • carry the external MCP servers, and say the zip holds secrets
  • a form's shape is data, so a revised form is not a release
  • every remote image goes through our own origin
  • the sandbox's node is provisioned, not assumed
  • FileRef.path is held to the site boundary
  • a parked decision survives a restart (S6)
  • tell the agent about bindings, Chart and components (contract v3)
  • resolve bindings server-side, and let a page define its own component
  • a page can read live data instead of a copy of it (S3c)
  • record where the agent's mediated fetches went
  • the MCP add-gate says what it cannot contain
  • the agent's MCP comes from the channel, not the public listener
  • restrict the channel, and cover the configs that broke
  • a loopback-only endpoint for the agent's tools
  • tell the agent it can write pages
  • a page button may call an approved capability
  • pages appear in the sidebar
  • the diff gate renders the page it is asking about
  • review a page change by rendering the page
  • pages carry their own navigation
  • the agent may write pages, and only pages
  • replay past conversations through the live reducer
  • the conversation list component and its API calls
  • group turns into conversations
  • read past conversations back from the store
  • tell the agent the block vocabulary exists
  • ship the block vocabulary as an app-managed contract
  • the chat transcript renders ordered segments
  • stream ```ui fences as validated block events
  • the component renderers, the tree renderer and the page mount
  • site pages read through the same validator, with e2e proof
  • the node model, fourteen component schemas and the tree validator
  • draft + escalation cards as platform chrome
  • capability escalation gate - a denial becomes a decision
  • draft-approval gate
  • draft store — inert until a human promotes one
  • render permission sentences from the grant, in code
  • deny spans CLI built-ins as well as MCP tools
  • one registry carrying provenance and state
  • script tools spawn through the sandboxed launcher
  • sandboxed launcher building argv from a grant
  • probe the node runtime; sandbox fails closed when unavailable
  • platform preload that denies a capability the network
  • grant model with a tolerant enabled-list reader
  • ship site.json in the site template
  • write site.json on startup for data folders that predate it
  • generate the scope guard's WRITE_DIRS from the site manifest
  • add the site manifest model + store
  • let the LLM judges read the real artifact via Lyntai's MCP tool host

Fixes

  • route the agent to the fact store it was never told about
  • the welcome page shipped a button that could never work
  • a failed update must not hang on a modal nobody can click
  • a restore must not roll back the app-managed files
  • write the PASS marker synchronously, so the abort tolerance can work
  • the headless server reads the LAN opt-in
  • the chart earns its space
  • the layering assertion must not skip itself
  • relink cap-guard.mjs into both consumers after the split
  • allow-list the agent's markdown HTML instead of deny-listing it
  • the guard hook matcher must cover denied tools
  • new-tool enables the capability it scaffolds
  • ship the pdf-form leaf in the bundle + Lyntai 2.0.1

Download the zip, extract, and run Gatherlight.exe. On first run the launcher installs the .NET 10 runtime if it's missing (one-time). Windows 10/11 (x64).

Gatherlight v1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 10:05

Gatherlight v1.0.0

New features

  • P4 plumbing — Windows npx/.cmd launch + teach agent the MCP markers
  • P3 generic interactive-login (QR/browser) + agent-driven login in chat
  • P2 chat confirmation gate + management panel
  • P1 foundation — connect out to external MCP servers
  • differential download — diff manifest, range-fetch changed files, full fallback
  • RemoteZip — range-based single-entry zip reader
  • /manage progress overlay (polls status, retry on failure)
  • run upgrade steps as a gated startup phase (was inline pre-listen)
  • 503 gate + status/retry endpoints + health migrating flag
  • versioned startup runner with essential/best-effort policy
  • ordered upgrade + self-heal steps
  • migration state + step contract scaffolding
  • awaiting-input pause gate + fix phantom-path commit crash
  • move prompt registry + model routing onto Lyntai
  • migrate chat_session/chat_event to Lyntai conversation store + drop
  • migrate chat_score to lyntai_score_result, drop legacy table
  • per-model pricing + live KB merge progress; drop stale MultiEdit deny
  • harden planner guard (deny-list) + repoint system-guard path
  • move system guard to guard/ + deny-list write scope
  • LLM-assisted knowledge-base upgrade migration (sub-project 2)
  • complete background-jobs feature — handlers, scheduler, tools, UI
  • log every claude spawn + chat failure; scaffold background-jobs foundation
  • xhs_search MCP scraper so the planner never authors its own
  • styled close-to-tray prompt (native fallback)
  • styled dialogs, first-run setup wizard, Overview details + density
  • remember failed turns + show live token usage while planning
  • jail the spawned planner agent (scope-guard v2)
  • framework-dependent build + launcher runtime bootstrapper
  • full-local archive — include git history + settings
  • data foundation — full backup, structure spec, onboarding, md-index + MCP
  • full win-x64 runtime bundle (driver + git + chromium) in one package
  • NuGet-based resource storage — Playwright driver via Gatherlight.Resources
  • server lifecycle controls, theme-matched tray, close-to-tray prompt + configurable log level

Fixes

  • make the diff view legible in the light theme
  • make the awaiting-input pause usable + recoverable
  • zip-slip guard on delta staged writes (bail to full on escape)
  • RemoteZip normalizes backslash zip entry names (Compress-Archive)
  • retry re-run catches unexpected errors → phase failed
  • code-review follow-ups on the Lyntai conversation-store adoption
  • probe SSRF-exempt scraper tool for chromium skip-check
  • SSE seq derivation + login-throttle locked read (review lows)
  • declare System32Exe before RobocopyTree uses it
  • client review follow-ups + opaque auth session cookie
  • detect no-baseline files + live merge progress
  • log a failure line on every claude exception path
  • align scope-adherence scorer with broadened system-mode write scope
  • show scheduled next-run in the job's timezone, not UTC
  • footer shows live local/lan/wan mode; tray text vertical alignment
  • idempotent git tag step so re-runs regenerate notes instead of aborting
  • robust categorized release notes (d3dx-style)
  • normalize to full 3-part semver (1.0 → 1.0.0) everywhere it's derived
  • runner trusts the suite's PASS marker over a teardown-crash exit code
  • skip pdf/scraper suites when their download-at-setup deps are absent (CI gate)
  • review findings #13/#14/#15 — launcher long-path, gate-button safety, resource-integrity note
  • review findings #5/#8/#9/#12 — backup lock, throttle eviction, update compare, host streaming
  • bump after gate (#6) + resources version single-source (#7)
  • SSE resume via Last-Event-ID — no duplicate transcript on reconnect (#3)
  • review findings #1/#2/#4/#10 — deadlock, SSE races, scope bypass, tool-arg 400s
  • single source of truth semver; fixes broken update check
  • restore read-only .git objects (Windows)
  • desktop-e2e teardown killed EVERY WebView2 app on the machine
  • Home first-run card never showed (seeded 智库 counts as files)

Other changes

  • chore(deps)!: Lyntai 0.31.1 -> 1.0.0 + squash migrations to a 1.0 baseline
  • security: remediate full-codebase review — 16 hardening fixes
  • Logging: persistent file logs + console viewer (D3dx-style, for error tracking)
  • Packaging: Playwright driver download-at-setup - lean bundle ~110MB
  • Manage console: fixed app-shell — pinned tab bar + footer, scroll only in between
  • Packaging: lean bundle by default — chromium + git download-at-setup
  • Manage console: 资源 · Resources panel + desktop header→footer redesign
  • Resources: download-at-setup provisioning foundation (server)
  • Update: default the auto-update source to the official JiarongGu/Gatherlight repo
  • Sidebar: fix Knowledge Base pin size — rename modifier off the colliding .kb class
  • Sidebar: keep the Knowledge Base pin celadon, distinct from the amber Library
  • Sidebar: Knowledge Base pin matches the Library pin (drop celadon variant)
  • Manage Settings: polish the Access card into a balanced two-column layout
  • Security: Local / LAN / WAN access modes (opt-in unauthenticated LAN bind)
  • Knowledge Base: card preview shows body, not a repeat of the title
  • Client: standalone Knowledge Base surface, bottom pins, proper dark theme, layout polish
  • Client: planner view <-> URL (deep-links, reload persistence, back/forward)
  • CI/release: manual-trigger release only, drop auto CI (D3dx-style)
  • Client: sidebar sections match the Library pin + graceful Library card images
  • desktop-e2e: cover the Settings tab
  • Host: restart re-reads settings + re-points the WebView on a port/scheme change
  • Manage: Settings tab — edit server config from the console (no JSON editing)
  • Desktop e2e over CDP: drive the WebView2 UI end-to-end (restart verified)
  • Manage: desktop-shaped Overview (two columns, fits the window, no long scroll)
  • Host: DPI-aware window persistence (D3dx pattern) + desktop-shot tooling
  • Host: restart the server in-process instead of relaunching the whole app
  • UX: auth gate token input — aria-label + no autofill
  • UX: height-stable shimmer while trip/city maps load
  • UX: chat respects scroll position + a "jump to latest" button
  • UX: app-level error boundary — recoverable fallback instead of a white screen
  • UX: new-user onboarding — chat draft persistence, starters, Home first-run
  • Bundle scrapers (Playwright driver + chromium) + split folder vs release zip
  • Document: scrapers don't run from the single-file bundle (Playwright driver)
  • Bundle a portable git so the app is self-sufficient on a fresh host
  • gitignore: also ignore local-clean/ and local-*/ data folders
  • Update robustness: launcher rollback on failed overlay + e2e release gate
  • e2e runner: --build, --parallel, range/list selectors, timing
  • Planner UI/UX: toasts, platform-aware ⌘K, loading skeletons, a11y
  • Polish the management console UI/UX
  • Harden the e2e runner: numeric order, run-all, loud summary
  • Dedup: shared e2e harness (_e2e-common.mjs) across all 23 suites
  • Dedup: shared helpers on server + client
  • Refresh dev docs/rules + add semantic-recall (embeddings) as an optional roadmap item
  • Document the prompt/agent playground in ROADMAP
  • Add a prompt/agent playground (Mastra runEvals) as a CLI eval harness
  • FTS recall: keep confidence-first ordering (bm25 as tiebreaker)
  • Document FTS5 recall in ROADMAP
  • Add FTS5 full-text recall for the library + fact store (Mastra recall, lexical)
  • Document run traces in ROADMAP
  • Add run traces (Mastra observability) to the console
  • Document automated scorers in ROADMAP
  • Surface automated scores in the console + tuning export
  • Add automated scorers (Mastra-inspired), grading each conversation
  • Document the auto-update cycle (DEPLOYMENT + ROADMAP)
  • Auto-update: server check/download/stage + console UI + restart-via-launcher
  • Auto-update: launcher apply phase + array-shape manifest
  • Add root build script + GitHub Actions CI/release workflows
  • Add native C++ launcher, built into the bundle as Gatherlight.exe
  • Add a proper app icon (拾 seal) for the exe, window/tray, and favicon
  • Add security response headers (CSP + hardening), verified headless
  • Add Kestrel-native TLS — self-signed by default, bring-your-own cert
  • Throttle login brute-force attempts (per-IP lockout)
  • Add remote-access hardening — loopback-trusted access-token gate
  • Carry tuned cortex config in the memory bundle
  • Add cortex tuning surface — edit prompt templates + model routing live
  • Restore maintainer copyright (Jiarong Gu) in README + LICENSE
  • Polish: doc accuracy (tool count, library tools, ROADMAP, stale transition note)
  • README (release-ready) + MIT LICENSE
  • Chat ranking + LLM-tuning data + eval observability (Mastra-like)
  • Host: proper tray menu + window position/size persistence
  • Structured publish: libs / res / data bundle + launcher
  • Desktop console: WebView2 /manage dashboard (resizable, DPI-correct, designed)
  • Proper production build script (manifest + zip + version)
  • Memory transfer: export/import DB knowledge + startup seeding
  • Desktop management host — hosts the server in-process + monitors health
  • Harden: keep the SQLite DB out of git (it now holds knowledge)
  • Migrate markdown reference libraries → DB knowledge library
  • Offline-first: self-host fonts + cache library images through the server
  • Lantern-paper redesign + 知识库 Library screen
  • Fix client bundle TDZ crash from manualChunks
  • Library backend: DB-backed knowledge library
  • Packaging: self-contained single-file publish + deployment guide
  • Client bundle: split vendors + lazy-load the map, drop dead dep
  • Real-claude two-gate smoke harness (opt-in)
  • Dedup/cleanup pass over the tool layer
  • Scraper ports (2/2): flight_prices + hotel_prices + hotel_info + restaurant_info → native
  • Scraper ports (1/2): flight_schedule + policy_check → C#/Playwright native
  • General documen...
Read more