@@ -346,14 +346,20 @@ function buildGovernancePromptChecks(ctx) {
346346 mustInclude ( 'instructions/01-common.instructions.md' , '全局默认 `@rocky`' , '01-common default auto alias' )
347347 mustInclude ( 'instructions/01-common.instructions.md' , '替换全局默认别名' , '01-common auto alias replacement' )
348348 mustInclude ( 'instructions/01-common.instructions.md' , '模糊提及' , '01-common auto mode' )
349- mustInclude ( 'instructions/01-common.instructions.md' , '非白名单路径默认切回确认模式' , '01-common auto mode' )
349+ mustInclude ( 'instructions/01-common.instructions.md' , '非白名单路径在默认 `safety-only` 下提醒后继续已获正式授权的 mutation' , '01-common auto safety-only mode' )
350+ mustInclude ( 'instructions/01-common.instructions.md' , '在 `strict` 下切回确认并拦截' , '01-common auto strict mode' )
351+ mustNotInclude ( 'instructions/01-common.instructions.md' , '非白名单路径默认切回确认模式' , '01-common legacy auto hard-block mode' )
350352 mustInclude ( 'skills/cp-gate/SKILL.md' , '明确自然语言 auto 授权' , 'cp-gate auto mode' )
351353 mustInclude ( 'skills/cp-gate/SKILL.md' , 'extensions.devcodex.autoAliases' , 'cp-gate auto alias' )
352354 mustInclude ( 'skills/cp-gate/SKILL.md' , '全局默认 `@rocky`' , 'cp-gate default auto alias' )
353355 mustInclude ( 'skills/cp-gate/SKILL.md' , '替换全局默认别名' , 'cp-gate auto alias replacement' )
354356 mustInclude ( 'skills/cp-gate/SKILL.md' , '白名单路径' , 'cp-gate auto mode' )
357+ mustInclude ( 'skills/cp-gate/SKILL.md' , '非白名单路径在默认 `safety-only` 下提醒后继续已获正式授权的 mutation' , 'cp-gate auto safety-only mode' )
358+ mustInclude ( 'skills/cp-gate/SKILL.md' , '在 `strict` 模式下回确认并硬拦截' , 'cp-gate auto strict mode' )
355359 mustInclude ( 'skills/cp-gate/SKILL.md' , 'instruction-fallback' , 'cp-gate auto mode' )
356360 mustInclude ( 'skills/compliance/SKILL.md' , 'hook-enforced' , 'compliance auto mode' )
361+ mustInclude ( 'skills/compliance/SKILL.md' , '非白名单路径在正式 workflow authority 已满足后输出提醒并放行' , 'compliance auto safety-only mode' )
362+ mustInclude ( 'skills/compliance/SKILL.md' , '`strict` 模式下才按白名单执行 runtime 硬拦截' , 'compliance auto strict mode' )
357363 mustInclude ( 'skills/compliance/SKILL.md' , 'instruction-fallback' , 'compliance auto mode' )
358364 mustInclude ( 'hooks/_runtime/lifecycle.cjs' , 'AUTO_ALLOWED_PATH_PATTERNS' , 'lifecycle runtime auto mode' )
359365 mustInclude ( 'hooks/_runtime/lifecycle.cjs' , 'detectExecutionMode' , 'lifecycle runtime auto mode' )
0 commit comments