Files
memind/scenarios/tkmind-feature-survey.json
john 441703de32
Memind CI / Test, build, and release guards (push) Successful in 1m58s
fix: stabilize page data release gate scenarios
2026-07-26 17:41:45 +08:00

33 lines
1.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "tkmind-feature-survey",
"name": "TKMind 功能偏好调查(Page Data",
"description": "普通用户话术 → Agent 生成问卷页 + 口令后台 → 验证 Page Data 交付",
"account": {
"username": "john",
"password": "888888"
},
"steps": [
{
"action": "login",
"label": "登录 john 账户"
},
{
"action": "chat",
"label": "用户话术:功能偏好调查 + 后台",
"message": "请直接完成并发布一个 TKMind 功能偏好调查:\n\n1. 做一个问卷页面,3 道题:最喜欢哪些功能(多选)、主要在什么场景用(多选)、有什么建议或期待的功能(填空)。提交按钮必须用 page-data-client.js 的 insert 保存,不能只读展示。\n2. 填完能提交保存,再做一个独立后台页面,密码 88888888,能查看所有提交记录并导出;后台交互必须使用 addEventListener,禁止 inline onclick=。\n3. 页面要好看;必须使用 Page Data 公开 APIpage-data-client.js),不要停在方案确认,立即建表、注册 dataset、写完整页面、bind、发布,并返回两个相对路径链接;不要输出 127.0.0.1 或本地端口。",
"selectedChatSkill": "page-data-collect",
"expect": {
"assistantMinChars": 80,
"timeoutMs": 600000,
"replyKeywords": ["问卷", "后台"],
"forbidReplyPatterns": ["8899", "127.0.0.1:", "PLACEHOLDER_PAGE_ID", "survey-api"],
"survey": {
"requirePolicy": true,
"requireDataset": true,
"forbidHtmlPatterns": ["onclick=", "127.0.0.1:", "PLACEHOLDER_PAGE_ID", "8899"]
}
}
}
]
}