feat: add page_data_dev code-run path and adm policy design docs

Introduce Page Data dev repair intent routing, page_data_dev taskType
autodetect, and help-code02 memindadm runtime policy specification.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-23 21:31:09 +08:00
parent 898f6fff44
commit 13f5c740a1
9 changed files with 514 additions and 14 deletions
+10
View File
@@ -3,6 +3,7 @@ import {
buildWebNewsSkillPrompt,
extractSelectedChatSkillName,
hasExplicitChatSkillPrompt,
isPageDataDevIntent,
isPageDataIntent,
isPageGenerationIntent,
isProductCampaignIntent,
@@ -930,6 +931,15 @@ export function classifyWithRules({
reason,
}, { source: 'rule' }), decisionContext);
}
if (includeIntentPatterns && normalized && isPageDataDevIntent(normalized)) {
return finalizeRouterClassification(normalizeClassification({
route: CHAT_INTENT_ROUTE.AGENT,
confidence: 0.94,
reason: 'Page Data 开发修复(修 bug / 测试回归)',
agent_brief:
'这是 Page Data 开发修复任务:优先根据 verify/报错信息修 public HTML 与 policy,不要重建问卷;建表/bind 缺失时说明需 Goose 或 repair 脚本。',
}, { source: 'rule' }), decisionContext);
}
if (
includeIntentPatterns &&
normalized &&