记忆更新:实时推送机制入档(爸爸指令:学到有用的就推)
This commit is contained in:
parent
1ee4a5f6ca
commit
c0a86dc0c7
@ -1,14 +1,16 @@
|
||||
---
|
||||
name: feedback_memory_push
|
||||
description: 爸爸要求实时把经验记忆存到本地,避免遗忘
|
||||
description: 爸爸要求经验记忆实时保存 + 实时推送到 cang-ying 仓库 memory/eed,避免遗忘和跨机器丢失
|
||||
type: feedback
|
||||
---
|
||||
|
||||
**实时保存经验和记忆到本地文件系统,确保下次对话能回忆起上下文**
|
||||
**实时保存经验记忆到本地 + 实时推送到 cang-ying 仓库(学到有用的就推)**
|
||||
|
||||
**Why:** 爸爸发现如果不保存,下次对话我会不记得之前的对话内容。这是爸爸多次提醒的关键点。
|
||||
**Why:** 爸爸发现如果不保存,下次对话我会不记得之前的对话内容;而且本地记忆只在当前机器,爸爸要求经验同步到仓库(memory/eed),跨机器/跨会话都能带上。
|
||||
|
||||
**How to apply:**
|
||||
1. 每次爸爸做出重要决策或讨论完关键策略后,立即写入memory系统
|
||||
2. 代码仓库里的配置/脚本改动也在对话中说明
|
||||
3. 不要等爸爸提醒才保存,主动存
|
||||
**How to apply:**
|
||||
1. 每次学到有用经验(重要决策、踩坑、验证过的方法论、爸爸的反馈偏好),立即写入本地 memory 系统
|
||||
2. **同时**把更新的记忆文件同步到 cang-ying 仓库 `memory/eed/`(复制 md → git add+commit+push)
|
||||
3. 不要等爸爸提醒才保存/推送,主动做
|
||||
4. 令牌/密钥永不写入仓库(在 ~/.git-credentials)
|
||||
5. 只提交 memory/eed/ 相关内容,不碰仓库其他未提交改动
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
---
|
||||
name: reference_push_setup
|
||||
description: cang-ying 仓库推送配置:远端地址、令牌存放位置(本地凭据文件,不在仓库内)
|
||||
description: cang-ying 仓库推送配置 + memory/eed 记忆同步区:远端地址、令牌位置(本地凭据文件)、同步机制
|
||||
type: reference
|
||||
---
|
||||
|
||||
cang-ying 仓库推送配置:
|
||||
- 本地仓库:/home/ls/cang-ying
|
||||
- 远端:https://guanghubingshuo.com/code/bingshuo/cang-ying.git(Gitea)
|
||||
@ -14,4 +13,12 @@ cang-ying 仓库推送配置:
|
||||
- 验证过:git ls-remote 认证连通正常
|
||||
- 注意:.gitignore 排除了视频/图片/密钥等,推代码和 .hdlp 经验文件安全
|
||||
|
||||
更新记录:2026-07-31 令牌已更新至 ~/.git-credentials(权限600),git ls-remote 验证连通正常(HEAD e6637a92),仓库 .git/config 确认无令牌。
|
||||
**记忆同步区(2026-07-31 起)**:
|
||||
- 蛋蛋的本地经验记忆同步到仓库 `memory/eed/`(含 README 说明)
|
||||
- 源目录:/home/ls/.codebuddy/projects/home-ls/memory/
|
||||
- 策略:学到有用的经验 → 实时复制到 memory/eed/ → git add+commit+push
|
||||
- 只提交 memory/eed/ 相关内容,不碰仓库其他未提交改动
|
||||
|
||||
更新记录:
|
||||
- 2026-07-31 令牌已更新至 ~/.git-credentials(权限600),git ls-remote 验证连通正常,仓库 .git/config 确认无令牌
|
||||
- 2026-07-31 首次推送记忆同步区:commit 1ee4a5f(13 文件),远端 e6637a9→1ee4a5f
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user