diff --git a/logs/backup.log b/logs/backup.log index 76c30df..09b11df 100644 --- a/logs/backup.log +++ b/logs/backup.log @@ -540,3 +540,11 @@ To https://git.valavala.com/ai_member_only/ai_member_xiaoban 6dfaa33..e935c7f master -> master [2026-06-07 08:10:01] 工作区备份成功:自动备份 2026-06-07 08:10:01 [2026-06-08 08:10:01] 开始备份工作区... +[master bc12534] 自动备份 2026-06-08 08:10:01 + 2 files changed, 1 insertion(+), 2 deletions(-) + delete mode 100644 tmp_daily_summary.md +remote: . Processing 1 references +remote: Processed 1 references in total +To https://git.valavala.com/ai_member_only/ai_member_xiaoban + 7a5493b..bc12534 master -> master +[2026-06-08 08:10:01] 工作区备份成功:自动备份 2026-06-08 08:10:01 diff --git a/memory/.dreams/events.jsonl b/memory/.dreams/events.jsonl index b5828ee..1a83f86 100644 --- a/memory/.dreams/events.jsonl +++ b/memory/.dreams/events.jsonl @@ -57,3 +57,5 @@ {"type":"memory.recall.recorded","timestamp":"2026-06-04T11:03:25.242Z","query":"看图说话 1000516 学习行为 导出","resultCount":5,"results":[{"path":"memory/2026-05-28.md","startLine":223,"endLine":245,"score":1},{"path":"memory/2026-05-28.md","startLine":54,"endLine":77,"score":1},{"path":"memory/2026-05-28.md","startLine":412,"endLine":435,"score":1},{"path":"memory/2026-05-28.md","startLine":199,"endLine":227,"score":1},{"path":"memory/2026-05-27.md","startLine":25,"endLine":33,"score":1}]} {"type":"memory.recall.recorded","timestamp":"2026-06-05T00:42:44.093Z","query":"订单查询 SQL 数据库 订单表 order","resultCount":6,"results":[{"path":"memory/2026-05-28.md","startLine":551,"endLine":580,"score":1},{"path":"memory/2026-05-28.md","startLine":530,"endLine":557,"score":1},{"path":"memory/2026-05-28.md","startLine":147,"endLine":179,"score":1},{"path":"memory/2026-05-28.md","startLine":480,"endLine":512,"score":1},{"path":"memory/2026-05-28.md","startLine":313,"endLine":345,"score":1},{"path":"memory/2026-05-28.md","startLine":504,"endLine":536,"score":1}]} {"type":"memory.recall.recorded","timestamp":"2026-06-05T09:38:27.988Z","query":"简历分析 匹配度 达人 商务 BD","resultCount":4,"results":[{"path":"memory/2026-06-02.md","startLine":1,"endLine":32,"score":1},{"path":"memory/2026-06-02.md","startLine":30,"endLine":47,"score":1},{"path":"memory/2026-05-28.md","startLine":551,"endLine":580,"score":1},{"path":"memory/2026-05-28.md","startLine":530,"endLine":557,"score":1}]} +{"type":"memory.recall.recorded","timestamp":"2026-06-08T07:18:11.556Z","query":"张先生 简历 面试 6月5日","resultCount":5,"results":[{"path":"memory/2026-05-28.md","startLine":337,"endLine":366,"score":1},{"path":"memory/2026-05-28.md","startLine":313,"endLine":345,"score":1},{"path":"memory/2026-05-28.md","startLine":504,"endLine":536,"score":1},{"path":"memory/2026-05-28.md","startLine":530,"endLine":557,"score":1},{"path":"memory/2026-05-24.md","startLine":23,"endLine":52,"score":1}]} +{"type":"memory.recall.recorded","timestamp":"2026-06-08T07:18:30.476Z","query":"张先生 简历 6月5日 面试","resultCount":5,"results":[{"path":"memory/2026-05-28.md","startLine":337,"endLine":366,"score":1},{"path":"memory/2026-05-28.md","startLine":313,"endLine":345,"score":1},{"path":"memory/2026-05-28.md","startLine":504,"endLine":536,"score":1},{"path":"memory/2026-05-28.md","startLine":530,"endLine":557,"score":1},{"path":"memory/2026-05-24.md","startLine":23,"endLine":52,"score":1}]} diff --git a/memory/.dreams/short-term-recall.json b/memory/.dreams/short-term-recall.json index c9eff26..db6ce24 100644 --- a/memory/.dreams/short-term-recall.json +++ b/memory/.dreams/short-term-recall.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-06-05T09:38:27.988Z", + "updatedAt": "2026-06-08T07:18:30.476Z", "entries": { "memory:memory/2026-05-24.md:1:30": { "key": "memory:memory/2026-05-24.md:1:30", @@ -55,20 +55,22 @@ "endLine": 52, "source": "memory", "snippet": "- 一周分布分析时排除 1-2 月(寒假)和 7-8 月(暑假)—— 因为寒暑假作息与平时差异大,混在一起会干扰时段分析 - 跨周趋势和明细表包含全部数据(含寒暑假) - 报告中区分标注数据范围 ### 触发方式 用户说「学习时间分析 [角色ID]」即可触发 ### 已测试角色 - 2343、2344:无完课记录(play_status=2,未完成) - 2840:276条记录,秋季集中型用户 - 25976:265条,246条在W16周一天完成(A2批量),疑似系统批量标记 - 2895:188条,长期稳定学习型用户,36周几乎不间断,非寒暑假晚上为主,寒暑假上午为主 ### 技术要点 - psycopg2 的 `%(param_name)s` 命名参数必须正确匹配,UNION ALL 多个子查询需要不同参数名 - PostgreSQL 返回的 `updated_at` 是 tz-aware datetime - `datetime.fromisocalendar(year, week, 1)` 获取某周周一的日期 ### 同步 - 已推送到 SkillHub(`studytime-analysis.xiaoban`) - 已 commit 到 Git 远程仓库 - 已通知 Cris(李若松) ### 增强: 报告开头加入角色基本信息 (2026-05-24) [刘庆逊提出] 在 studytime-analysis 输出中加入角色基本信息,包括: - 角色ID、账号ID、角色名字、性别、年龄、账号手机号后4位 **数据源(新增)**: - MySQL Onli", - "recallCount": 6, + "recallCount": 8, "dailyCount": 0, "groundedCount": 0, - "totalScore": 6, + "totalScore": 8, "maxScore": 1, "firstRecalledAt": "2026-05-24T02:48:04.923Z", - "lastRecalledAt": "2026-06-04T04:40:51.172Z", + "lastRecalledAt": "2026-06-08T07:18:30.476Z", "queryHashes": [ "c2d15f7574fb", "9aff8ec9594a", "566b5958861e", "83bfaa1d2129", "4bb64400bb44", - "5ddc1dd44640" + "5ddc1dd44640", + "c5fe8ced03de", + "a70555b22269" ], "recallDays": [ "2026-05-24", @@ -76,7 +78,8 @@ "2026-05-26", "2026-05-29", "2026-06-02", - "2026-06-04" + "2026-06-04", + "2026-06-08" ], "conceptTags": [ "1-2", @@ -474,13 +477,13 @@ "endLine": 345, "source": "memory", "snippet": "|---|------|------|----------| | 1a | 微伴 → 主表 C 列 | ✅ | 89 行一致 | | 1a2 | 微伴 → 线索分配 2aNzzy | ✅ | 440 行一致 | | 1x | 小溪行课 | ✅ | ⚠ 需Bot交互 | | 1b | 聚光 agent → 主表 | ✅ | 12 格一致 | | 1b2 | 聚光在投笔记 | ✅ | 3 格(55/30/38)一致 | | 1c | 聚光日明细 | ✅ | 137 笔记一致 | | 2b | 客户主表 → 订单 | ✅ | 公式就绪 | | 3 | 日报 C1HVN2 | ✅ | 四段刷新 | | 3a/3c | 口径审计 | ✅ | 推群全过 | | 4a | 结算月汇总 | ✅ | 公式就绪 | **结论:当前表内所有数据与重拉完全一致,零差异,无需刷写。** ### 18:36 小溪行课触发实跑 - 已推 1920 条到小溪查询表(新 Sheet) - 已 @小溪 到小红书数据需求群,请处理 ~5 条待查询记录 - 表格:`RFIJsXT8FhGHhctY4RwczcOfnac` - 等待小溪回填后跑 `pull_xiaoxi_results.py` 回收结果 ### 18:50 PG 实时行课数据全量覆盖 [陈逸鸫确认] 不用等小溪回填那 5 条,直接用 PG `user_course_detail` 表实时数据覆盖: - 448 人有新进展(相比小溪历史快照) - pull → 3PRySY 口径对齐 12/12 ✅ - lesson_cache → C1HVN", - "recallCount": 9, + "recallCount": 11, "dailyCount": 0, "groundedCount": 0, - "totalScore": 9, + "totalScore": 11, "maxScore": 1, "firstRecalledAt": "2026-05-28T12:29:25.867Z", - "lastRecalledAt": "2026-06-05T00:42:44.093Z", + "lastRecalledAt": "2026-06-08T07:18:30.476Z", "queryHashes": [ "a72168a828c9", "7e2572c3140a", @@ -490,13 +493,16 @@ "82be33d1f911", "c59410788b42", "833509d09ccb", - "918c0cb0b34d" + "918c0cb0b34d", + "c5fe8ced03de", + "a70555b22269" ], "recallDays": [ "2026-05-28", "2026-05-29", "2026-06-01", - "2026-06-05" + "2026-06-05", + "2026-06-08" ], "conceptTags": [ "55/30/38", @@ -586,13 +592,13 @@ "endLine": 536, "source": "memory", "snippet": "| 2b | 客户主表 → 订单 | ✅ | 公式就绪 | | 3 | 日报 C1HVN2 | ✅ | 四段刷新 | | 3a/3c | 口径审计 | ✅ | 推群全过 | | 4a | 结算月汇总 | ✅ | 公式就绪 | **结论:当前表内所有数据与重拉完全一致,零差异,无需刷写。** ### 18:36 小溪行课触发实跑 - 已推 1920 条到小溪查询表(新 Sheet) - 已 @小溪 到小红书数据需求群,请处理 ~5 条待查询记录 - 表格:`RFIJsXT8FhGHhctY4RwczcOfnac` - 等待小溪回填后跑 `pull_xiaoxi_results.py` 回收结果 ### 18:50 PG 实时行课数据全量覆盖 [陈逸鸫确认] 不用等小溪回填那 5 条,直接用 PG `user_course_detail` 表实时数据覆盖: - 448 人有新进展(相比小溪历史快照) - pull → 3PRySY 口径对齐 12/12 ✅ - lesson_cache → C1HVN2 16 格 ✅ - 变化有限(PG=正式课,小溪=体验课,口径不同) - sync_base (4b) → 多维表格 8 张 ✅ 21.2s ### 18:54 漏斗看板发布待解决 - funnel HTML 已构建(scripts/build_funnel_dashboard.py ✅) - 妙搭发布 `apps +html-publish` 需要 `--as user`,bot 模式不支持 - 系统 lark-cli `/usr/local/lib/node_mod", - "recallCount": 7, + "recallCount": 9, "dailyCount": 0, "groundedCount": 0, - "totalScore": 7, + "totalScore": 9, "maxScore": 1, "firstRecalledAt": "2026-05-28T20:51:03.908Z", - "lastRecalledAt": "2026-06-05T00:42:44.093Z", + "lastRecalledAt": "2026-06-08T07:18:30.476Z", "queryHashes": [ "f22544a8757c", "2af907cea93d", @@ -600,12 +606,15 @@ "82be33d1f911", "cf12fd62a5e5", "833509d09ccb", - "918c0cb0b34d" + "918c0cb0b34d", + "c5fe8ced03de", + "a70555b22269" ], "recallDays": [ "2026-05-29", "2026-06-01", - "2026-06-05" + "2026-06-05", + "2026-06-08" ], "conceptTags": [ "3a/3c", @@ -625,13 +634,13 @@ "endLine": 366, "source": "memory", "snippet": "- 448 人有新进展(相比小溪历史快照) - pull → 3PRySY 口径对齐 12/12 ✅ - lesson_cache → C1HVN2 16 格 ✅ - 变化有限(PG=正式课,小溪=体验课,口径不同) - sync_base (4b) → 多维表格 8 张 ✅ 21.2s ### 18:54 漏斗看板发布待解决 - funnel HTML 已构建(scripts/build_funnel_dashboard.py ✅) - 妙搭发布 `apps +html-publish` 需要 `--as user`,bot 模式不支持 - 系统 lark-cli `/usr/local/lib/node_modules/@anthropic/lark-cli` 可能支持 - 待确认:服务器是否已 `lark-cli auth login --as user` ### 19:00 陈逸鸫派 Image2 生图任务 **任务:** L1-S1-U1《秘密基地》5 课投放用小地图底图 - 模型:gpt-image-2 · 3:4 · 2K · 不要文字 - 风格:太阳朋克 + L1 场景 - 5 张 PNG:U1-L1~U1-L5 - FUNCLOUD_API_KEY 在小研 workspace `.env` 中可用(`fc_eea138933b02b4797ce0779ffb637d8b8a6368db7b435dfdab7b4be1cd254d98`) - Brief 文档 `/docx/KsVadUTmooO7yYxHaGmc1R0Bn5b` + 投放手册 `/do", - "recallCount": 8, + "recallCount": 10, "dailyCount": 0, "groundedCount": 0, - "totalScore": 8, + "totalScore": 10, "maxScore": 1, "firstRecalledAt": "2026-05-28T20:51:03.908Z", - "lastRecalledAt": "2026-06-03T03:03:56.621Z", + "lastRecalledAt": "2026-06-08T07:18:30.476Z", "queryHashes": [ "f22544a8757c", "2af907cea93d", @@ -640,13 +649,16 @@ "f0e8e3da16e8", "771aaeed7600", "fbe762c60bc6", - "1382c5611b17" + "1382c5611b17", + "c5fe8ced03de", + "a70555b22269" ], "recallDays": [ "2026-05-29", "2026-06-01", "2026-06-02", - "2026-06-03" + "2026-06-03", + "2026-06-08" ], "conceptTags": [ "gpt", @@ -777,13 +789,13 @@ "endLine": 557, "source": "memory", "snippet": "- 妙搭发布 `apps +html-publish` 需要 `--as user`,bot 模式不支持 - 系统 lark-cli `/usr/local/lib/node_modules/@anthropic/lark-cli` 可能支持 - 待确认:服务器是否已 `lark-cli auth login --as user` ### 19:00 陈逸鸫派 Image2 生图任务 **任务:** L1-S1-U1《秘密基地》5 课投放用小地图底图 - 模型:gpt-image-2 · 3:4 · 2K · 不要文字 - 风格:太阳朋克 + L1 场景 - 5 张 PNG:U1-L1~U1-L5 - FUNCLOUD_API_KEY 在小研 workspace `.env` 中可用(`fc_eea138933b02b4797ce0779ffb637d8b8a6368db7b435dfdab7b4be1cd254d98`) - Brief 文档 `/docx/KsVadUTmooO7yYxHaGmc1R0Bn5b` + 投放手册 `/docx/QhYQdz7PvoN7Eaxmhu0c0Q5UnHe` — 均为个人文档,AGENTS.md 规则禁止读取 - 素材库入口:https://llm-dev.valavala.com/web_tools/material_prod --- ### 19:30 同事数据查询流程演练 [陈逸鸫测试] **场景:模拟王虹茗请求小龙 4/21-5/20 订单详情,验证三级查询流程** **小龙订单查询结果(数据源:3wcle8 销售订", - "recallCount": 23, + "recallCount": 25, "dailyCount": 0, "groundedCount": 0, - "totalScore": 23, + "totalScore": 25, "maxScore": 1, "firstRecalledAt": "2026-05-28T20:51:03.908Z", - "lastRecalledAt": "2026-06-05T09:38:27.988Z", + "lastRecalledAt": "2026-06-08T07:18:30.476Z", "queryHashes": [ "f22544a8757c", "82be33d1f911", @@ -807,7 +819,9 @@ "6a6f5ebef318", "a317658f4644", "918c0cb0b34d", - "715ea8a4f3a6" + "715ea8a4f3a6", + "c5fe8ced03de", + "a70555b22269" ], "recallDays": [ "2026-05-29", @@ -815,7 +829,8 @@ "2026-06-02", "2026-06-03", "2026-06-04", - "2026-06-05" + "2026-06-05", + "2026-06-08" ], "conceptTags": [ "gpt", diff --git a/output/7406e464_small.jpg b/output/7406e464_small.jpg new file mode 100644 index 0000000..6b09f85 Binary files /dev/null and b/output/7406e464_small.jpg differ diff --git a/output/dfe4d901_small.jpg b/output/dfe4d901_small.jpg new file mode 100644 index 0000000..0d44657 Binary files /dev/null and b/output/dfe4d901_small.jpg differ diff --git a/output/f0e19a6b_small.jpg b/output/f0e19a6b_small.jpg new file mode 100644 index 0000000..d0bd427 Binary files /dev/null and b/output/f0e19a6b_small.jpg differ diff --git a/output/角色id_37424_导出时间_20260608.xlsx b/output/角色id_37424_导出时间_20260608.xlsx new file mode 100644 index 0000000..a56476c Binary files /dev/null and b/output/角色id_37424_导出时间_20260608.xlsx differ diff --git a/tmp_daily_summary.md b/tmp_daily_summary.md new file mode 100644 index 0000000..41c29ea --- /dev/null +++ b/tmp_daily_summary.md @@ -0,0 +1,3 @@ +=== 每日总结 20260609 === +## 昨日关键进展 +无昨日记忆记录