home / kengdb / noteTb

noteTb: 268

This data as json

id user_id content tags created_at updated_at enable pinned folder_id comment position visibility
268 1 1 home-project-goose-memory - 版本:2.0.0 - 2026-05-13:goose - 重写为记忆系统格式 - 2026-05-13:goose - 初始记录 # goose 启动规则与记忆系统 ## 启动规则演变 最初在项目目录配 .goosehints 管理启动规则,后统一到 ~/.config/goose/.goosehints,本地只保留项目特有内容。 **全局+本地两层配置** - 全局规则放 `~/.config/goose/.goosehints`,所有目录通用 - 本地规则放项目根目录 `.goosehints`,只写项目特有内容 **坑**:之前每个项目目录各写一套 .goosehints,改了全局还要逐个改 ## 记忆系统演变 记忆文件从分散的 .gmm/ 改为集中到 ~/.config/goose/memory/,按工作目录 slug 分文件夹,.clue 统一索引。后迁移到 keng API。 **三层记忆架构** - `.clue` 索引:YAML 格式,记录所有工作目录条目 - 文件存储:`~/.config/goose/memory/{dir_slug}/{文件名}.md` - slug 规则:路径去掉前导 `/`,`/` 替换为 `-` **自动追加机制** - 每 5 轮自动存记忆 - 同一对话只用一个记忆文件 - 追加修正用 【已更正】或 ~~已废弃~~ 标记 - 超过 10KB 时要清理提炼 ## notehb 手册统一 notehb.md 从 /home/project/ 搬到 ~/.config/goose/notehb.md sync_notehb.py 同步更新到 ~/.config/goose/memory/bin/ 旧路径改为软链指向全局位置 ["goose", "启动规则", "记忆系统"] 2026-05-13 02:10:53 2026-05-13 02:36:31 F F     12 public

Links from other tables

  • 0 rows from note_id in noteShareTb
  • 0 rows from note_id in shareLinkTb
Powered by Datasette · Queries took 6.259ms