feat(page-data): add validation suggestions, repair path, and thinking fixes
Memind CI / Test, build, and release guards (push) Failing after 3m18s
Memind CI / Test, build, and release guards (push) Failing after 3m18s
Map Page Data failure codes to Chinese remediation hints, trigger one-shot goosed repair for remediable cases, and recover poisoned thinking sessions. Route local DeepSeek through the no-think proxy via host.docker.internal so tool rounds no longer hit reasoning_content 400; document gate and case-study scenarios for event registration repair. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"id": "event-registration-page-data-repair",
|
||||
"name": "活动报名页修复(补列 + rebind)",
|
||||
"description": "接续案例:HTML 已生成但 dataset 缺 participants/notes;让 Agent 补齐表列、重新注册并 bind,验证可提交",
|
||||
"account": {
|
||||
"username": "john4",
|
||||
"password": "888888"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"action": "login",
|
||||
"label": "登录 john4 账户"
|
||||
},
|
||||
{
|
||||
"action": "chat",
|
||||
"label": "修复 event_registrations 缺列并重新 bind",
|
||||
"message": "刚才活动报名页 public/event-register.html 和 public/event-register-admin.html 已经写好了,但 bind 失败:dataset「event_registrations」注册字段不存在:participants, notes。请立刻按 page-data-collect 修复:ALTER/补齐表列(含 participants、notes),重新 private_data_register_dataset,并对两个 public HTML 重新 private_data_bind_workspace_page(报名页 public insert,后台 password read,口令 88888888)。修完告诉我两个链接。不要用 localStorage。",
|
||||
"selectedChatSkill": "page-data-collect",
|
||||
"expect": {
|
||||
"assistantMinChars": 60,
|
||||
"timeoutMs": 600000,
|
||||
"replyKeywords": ["报名", "后台"],
|
||||
"forbidReplyPatterns": ["PLACEHOLDER_PAGE_ID", "survey-api"],
|
||||
"survey": {
|
||||
"requirePolicy": true,
|
||||
"requireDataset": true,
|
||||
"forbidHtmlPatterns": ["localStorage", "sessionStorage", "PLACEHOLDER_PAGE_ID"]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"id": "event-registration-page-data",
|
||||
"name": "活动报名页(Page Data · 表单+后台列表)",
|
||||
"description": "案例:活动报名表单 + 口令后台报名列表;验证 page-data-collect 交付与 Page Data API,作为审查建议/自动修复链路的场景载体",
|
||||
"account": {
|
||||
"username": "john4",
|
||||
"password": "888888"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"action": "login",
|
||||
"label": "登录 john4 账户"
|
||||
},
|
||||
{
|
||||
"action": "chat",
|
||||
"label": "创建活动报名页 + 后台列表",
|
||||
"message": "帮我做一个活动报名页,使用 Page Data API:\n\n【报名表单页】访客填写:姓名、手机号、邮箱(选填)、参加人数、备注(选填),提交后保存。\n\n【后台报名列表页】密码 88888888,能查看全部报名记录,显示提交时间,支持导出。\n\n要求:用 page-data-client.js,禁止 localStorage;做完把报名页链接和后台链接发给我。直接创建并发布,不用再问我确认。",
|
||||
"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", "onclick=", "PLACEHOLDER_PAGE_ID", "8899"]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user