Files
memind/scenarios/customer-order-system.json
T
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.7 KiB
JSON
Raw 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": "customer-order-system",
"name": "客户下单系统(Page Data 前后台)",
"description": "用户话术 → Goose page-data-collect 生成下单页 + 管理后台 → 验证 Page Data 交付",
"account": {
"username": "john4",
"password": "888888"
},
"steps": [
{
"action": "login",
"label": "登录 john 账户"
},
{
"action": "chat",
"label": "创建客户下单系统(前端下单 + 后台管理)",
"message": "请直接完成并发布一个客户下单系统,分前端下单页和独立管理后台两个页面:\n\n【前端下单页】客户填写:客户姓名、联系电话、商品名称、购买数量、收货地址、备注(选填),提交后保存到数据库。提交按钮必须调用 page-data-client.js 的 insert,不能做成只读静态页。\n\n【管理后台页】密码 88888888,能查看所有订单列表,显示下单时间和状态,能按商品名称做简单统计,支持导出 CSV。\n\n必须使用 Page Data 公开 APIpage-data-client.js),不要自建后端;不要停在方案确认,立即建表、注册 dataset、写完整 HTML、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": ["localStorage", "sessionStorage", "fetch('/api/"]
}
}
}
]
}