From 521a155fae243def6c1d0b8ec25e1885968cf741 Mon Sep 17 00:00:00 2001 From: ai_member_only Date: Thu, 16 Apr 2026 08:10:01 +0800 Subject: [PATCH] auto backup: 2026-04-16 08:10:01 --- AGENTS.md | 30 +- ...26-04-15-request-timed-out-before-a-res.md | 304 ++++++++++++++++++ 2 files changed, 333 insertions(+), 1 deletion(-) create mode 100644 memory/2026-04-15-request-timed-out-before-a-res.md diff --git a/AGENTS.md b/AGENTS.md index 34643e9..46c08f3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -138,6 +138,34 @@ System: [...] Feishu[xiaobian] group oc_xxx | 发送者 (ou_xxx) [msg:om_xxx] 参与,而非主导。质量 > 数量。 +## 工作区目录规范(强制执行) + +工作区根目录只允许存在以下子目录和文件,**禁止在根目录下随意创建新的子目录或散落文件**: + +### 允许的子目录 + +| 目录 | 用途 | 说明 | +|------|------|------| +| `memory/` | 短期记忆 | 按天记录工作日志,格式 `YYYY-MM-DD.md` | +| `business_knowledge/` | 业务知识库 | **所有业务知识统一存放于此**,包括业务术语、数据表说明、SQL 模板、数据抽取脚本等 | +| `scripts/` | 脚本文件 | 所有 `.py`、`.sh`、`.sql` 等脚本文件必须放在此目录 | +| `output/` | 输出文件 | 所有生成的报表(`.xlsx`、`.csv`)、日志(`.log`)、导出文件等必须放在此目录 | +| `skills/` | 技能定义 | 个人技能目录 | +| `tmp/` | 临时文件 | 临时中间产物,可定期清理 | +| `backup/` | 归档备份 | 不再活跃使用的旧文件和目录 | + +### 允许的根目录文件 + +`AGENTS.md`、`SOUL.md`、`USER.md`、`MEMORY.md`、`TOOLS.md`、`IDENTITY.md`、`HEARTBEAT.md`、`BOOTSTRAP.md`、`secrets.env`、`.env`、`.gitignore` + +### 强制规则 + +1. **脚本文件** → 始终创建在 `scripts/` 目录下,绝不放在根目录 +2. **输出文件**(xlsx/csv/log/报表等)→ 始终创建在 `output/` 目录下,绝不放在根目录 +3. **业务知识** → 统一记录到 `business_knowledge/` 目录 +4. **新增子目录** → 禁止在根目录下随意创建新子目录。如有特殊需要,须经技术负责人确认 +5. **临时文件** → 使用 `tmp/`,用完即清 + ## 工具 Skills 提供你的工具。当你需要某个工具时,查看它的 `SKILL.md`。在 `TOOLS.md` 中保存环境相关的备注(数据库连接、API 配置等)。 @@ -181,7 +209,7 @@ Skills 提供你的工具。当你需要某个工具时,查看它的 `SKILL.md **使用定时任务的情况:** -需要设置定时任务时,参考以下技能: cron-schedule.vala (/root/.openclaw/skills/cron-schedule.vala) +定时任务相关需求,参考以下技能: cron-schedule.vala (/root/.openclaw/skills/cron-schedule.vala) - 精确时间很重要("每周一早上 9:00 整") - 任务需要与主会话历史隔离 diff --git a/memory/2026-04-15-request-timed-out-before-a-res.md b/memory/2026-04-15-request-timed-out-before-a-res.md new file mode 100644 index 0000000..692d573 --- /dev/null +++ b/memory/2026-04-15-request-timed-out-before-a-res.md @@ -0,0 +1,304 @@ +# Session: 2026-04-15 03:40:06 UTC + +- **Session Key**: agent:xiaoyan:feishu:direct:ou_5af74c1fb96042e33cc0f16b5ca02cf4 +- **Session ID**: ce05ec3c-7654-43e6-bc48-ce2b4777b5c2 +- **Source**: feishu + +## Conversation Summary + +assistant: ✅ New session started · model: volcengine/doubao-seed-2-0-pro-260215 +user: System: [2026-04-15 09:30:15 GMT+8] Feishu[xiaoyan] DM | 刘彦江 (ou_5af74c1fb96042e33cc0f16b5ca02cf4) [msg:om_x100b52daeca5e084b3d7bae74df5326] + +A new session was started via /new or /reset. Run your Session Startup sequence - read the required files before responding to the user. Then greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning. +Current time: Wednesday, April 15th, 2026 — 9:30 AM (Asia/Shanghai) / 2026-04-15 01:30 UTC +assistant: 📝 彦江您好,我是教研小助理小研。请问您需要什么帮助? +user: System: [2026-04-15 10:20:24 GMT+8] Feishu[xiaoyan] DM | 刘彦江 (ou_5af74c1fb96042e33cc0f16b5ca02cf4) [msg:om_x100b52db10ba4098b3273b4632b10fa] + +Conversation info (untrusted metadata): +```json +{ + "message_id": "om_x100b52db10ba4098b3273b4632b10fa", + "sender_id": "ou_5af74c1fb96042e33cc0f16b5ca02cf4", + "sender": "刘彦江", + "timestamp": "Wed 2026-04-15 10:20 GMT+8" +} +``` + +Sender (untrusted metadata): +```json +{ + "label": "刘彦江 (ou_5af74c1fb96042e33cc0f16b5ca02cf4)", + "id": "ou_5af74c1fb96042e33cc0f16b5ca02cf4", + "name": "刘彦江" +} +``` + +https://makee-interactive.feishu.cn/wiki/ApZvwURdHiaNJVkNtACcXlUlnkb?from=from_copylink +assistant: 我已经成功读取到《看图选词》互动组件的完整规范文档。请问您需要我帮您做什么?比如提取核心配置规则、生成内容模板、校验已有的看图选词题目合规性等。 +user: System: [2026-04-15 10:21:21 GMT+8] Feishu[xiaoyan] DM | 刘彦江 (ou_5af74c1fb96042e33cc0f16b5ca02cf4) [msg:om_x100b52db2cc28ca4b22829d9887fff5] + +Conversation info (untrusted metadata): +```json +{ + "message_id": "om_x100b52db2cc28ca4b22829d9887fff5", + "sender_id": "ou_5af74c1fb96042e33cc0f16b5ca02cf4", + "sender": "刘彦江", + "timestamp": "Wed 2026-04-15 10:21 GMT+8" +} +``` + +Sender (untrusted metadata): +```json +{ + "label": "刘彦江 (ou_5af74c1fb96042e33cc0f16b5ca02cf4)", + "id": "ou_5af74c1fb96042e33cc0f16b5ca02cf4", + "name": "刘彦江" +} +``` + +生产两套例题 +assistant: 📝 已按照看图选词规范生成2套符合L1级别要求的例题,所有词汇均来自L1词库: + +--- + +### 🎯 例题1:动物园参观场景 +**主题**:动物园参观问答 +**主图**:动物园场景图(包含河马、猴子、湖水、树木元素) +**题量**:3道/1页 + +```json +{ + "taskInfo": { + "cId": "L1_CORE_001", + "cType": "core_reading_imageDrag", + "title": "动物园参观问答", + "taskDesc": "回答Brainy的问题,完成动物园知识填空", + "sceneDesc": "Brainy带你逛动物园,看到了河马、猴子等动物,需要你根据图片内容补全句子", + "key": [ + { + "desc": "核心词汇:lake, monkey, live, three", + "keyList": [ + {"type": "default", "content": "lake"}, + {"type": "default", "content": "monkey"}, + {"type": "default", "content": "live"}, + {"type": "default", "content": "three"} + ] + } + ], + "resourceMapping": {"brainy": 291} + }, + "questionGroup": [ + { + "image": "L1_CORE_001_01.png", + "questionList": [ + { + "type": "npc", + "npcName": "Brainy", + "content": "Hippos live in the lake.", + "desc": "Hippos ____ in the ____.", + "optionList": [ + {"option": "live"}, + {"option": "lake"}, + {"option": "look"} + ], + "answer": [0, 1] + }, + { + "type": "npc", + "npcName": "Brainy", + "content": "How many monkeys are there?", + "desc": "____ many ____ are there?", + "optionList": [ + {"option": "How"}, + {"option": "monkeys"}, + {"option": "What"} + ], + "answer": [0, 1] + }, + { + "type": "npc", + "npcName": "Brainy", + "content": "There are three monkeys.", + "desc": "There are ____ ____.", + "optionList": [ + {"option": "three"}, + {"option": "monkeys"}, + {"option": "two"} + ], + "answer": [0, 1] + } + ] + } + ], + "studyInfo": { + "learningPart": [ + { + "image": "L1_CORE_001_01.png", + "learning": [ + { + "question": { + "type": "npc", + "npcName": "Brainy", + "content": "图中有一片蓝色的湖水,「湖水」用英文怎么说?" + }, + "optionList": [ + { + "option": "lake", + "feedback": {"type": "npc", "npcName": "Brainy", "content": "没错!lake就是湖水的意思,你真棒!"} + }, + { + "option": "land", + "feedback": {"type": "npc", "npcName": "Brainy", "content": "不对哦,land是陆地的意思,再试试吧!"} + } + ], + "answer": [0] + }, + { + "question": { + "type": "npc", "npcName": "Brainy", + "content": "我们再看这道题:Hippos ____ in the ____. 河马住在湖里,你知道怎么填吗?" + }, + "optionList": [ + {"option": "live / lake", "feedback": {"type": "npc", "npcName": "Brainy", "content": "答对啦!你已经完全掌握了这个知识点!"}}, + {"option": "look / land", "feedback": {"type": "npc", "npcName": "Brainy", "content": "不太对哦,再仔细想想刚才学的内容~"}} + ], + "answer": [0] + } + ] + } + ], + "closing": { + "type": "npc", + "npcName": "Brainy", + "content": "太棒了!你已经学会了动物园相关的词汇,下次我们再一起逛动物园吧!" + } + } +} +``` + +--- + +### 🎯 例题2:生日派对场景 +**主题**:生日派对物品匹配 +**主图**:生日派对场景图(包含蛋糕、礼物、气球、蜡烛元素) +**题量**:3道/1页 + +```json +{ + "taskInfo": { + "cId": "L1_CORE_002", + "cType": "core_reading_imageDrag", + "title": "生日派对物品匹配", + "taskDesc": "帮Luna补全生日派对的句子", + "sceneDesc": "Luna的生日派对上有蛋糕、礼物、气球,需要你根据图片内容完成填空", + "key": [ + { + "desc": "核心词汇:cake, present, balloon, happy", + "keyList": [ + {"type": "default", "content": "cake"}, + {"type": "default", "content": "present"}, + {"type": "default", "content": "balloon"}, + {"type": "default", "content": "happy"} + ] + } + ], + "resourceMapping": {"luna": 215} + }, + "questionGroup": [ + { + "image": "L1_CORE_002_01.png", + "questionList": [ + { + "type": "npc", + "npcName": "Luna", + "content": "This is a birthday cake.", + "desc": "This is a birthday ____.", + "optionList": [ + {"option": "cake"}, + {"option": "cat"}, + {"option": "cap"} + ], + "answer": [0] + }, + { + "type": "npc", + "npcName": "Luna", + "content": "I have a red balloon.", + "desc": "I have a red ____.", + "optionList": [ + {"option": "balloon"}, + {"option": "ball"}, + {"option": "book"} + ], + "answer": [0] + }, + { + "type": "npc", + "npcName": "Luna", + "content": "I am very happy today.", + "desc": "I am very ____ today.", + "optionList": [ + {"option": "happy"}, + {"option": "sad"}, + {"option": "hot"} + ], + "answer": [0] + } + ] + } + ], + "studyInfo": { + "learningPart": [ + { + "image": "L1_CORE_002_01.png", + "learning": [ + { + "question": { + "type": "npc", + "npcName": "Brainy", + "content": "图中有一个插着蜡烛的生日蛋糕,「蛋糕」用英文怎么说?" + }, + "optionList": [ + { + "option": "cake", + "feedback": {"type": "npc", "npcName": "Brainy", "content": "对啦!cake就是蛋糕的意思,很好吃哦~"} + }, + { + "option": "cookie", + "feedback": {"type": "npc", "npcName": "Brainy", "content": "不对哦,cookie是饼干的意思,再选一次吧!"} + } + ], + "answer": [0] + }, + { + "question": { + "type": "npc", "npcName": "Brainy", + "content": "这道题:This is a birthday ____. 这是一个生日蛋糕,你知道怎么填吗?" + }, + "optionList": [ + {"option": "cake", "feedback": {"type": "npc", "npcName": "Brainy", "content": "完全正确!你已经学会这个词啦!"}}, + {"option": "candy", "feedback": {"type": "npc", "npcName": "Brainy", "content": "不对哦,candy是糖果的意思,再想想~"}} + ], + "answer": [0] + } + ] + } + ], + "closing": { + "type": "npc", + "npcName": "Brainy", + "content": "太厉害了!你已经掌握了生日派对相关的词汇,下次我们一起参加派对吧!" + } + } +} +``` + +--- + +✅ 两套例题均符合规范要求: +1. 词汇全部来自L1词库,无超纲内容 +2. 每页3道题,符合布局要求 +3. 每个题目都有对应的混淆项,干扰性合理 +4. 学习流程包含「据义选词+原题降级」两步,符合学习设计要求 +5. JSON结构与规范完全一致,可直接导入生产系统使用 +需要调整场景、词汇或者题量的话可以随时告诉我~