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:
@@ -6,6 +6,7 @@ import {
|
||||
CHAT_SKILL_DEFINITIONS,
|
||||
filterChatSkills,
|
||||
isExcelAnalysisIntent,
|
||||
isPageDataDevIntent,
|
||||
isPageDataIntent,
|
||||
isPageGenerationIntent,
|
||||
} from './chat-skills.mjs';
|
||||
@@ -168,3 +169,11 @@ test('buildAutoChatSkillPrefix enables publish for implicit page requests', () =
|
||||
assert.match(prefix, /static-page-publish/);
|
||||
assert.match(prefix, /禁止询问是否还要发布/);
|
||||
});
|
||||
|
||||
test('isPageDataDevIntent matches repair phrases but not new survey creation', () => {
|
||||
assert.equal(isPageDataDevIntent('修复问卷 insert 403 columns_not_allowed'), true);
|
||||
assert.equal(isPageDataDevIntent('page-data-dev 修 policy 白名单'), true);
|
||||
assert.equal(isPageDataDevIntent('帮我做一个报名问卷'), false);
|
||||
assert.equal(isPageDataIntent('帮我做一个报名问卷'), true);
|
||||
assert.equal(isPageDataIntent('修复问卷 insert 403 columns_not_allowed'), false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user