You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep executionMode=auto across the same session after @rocky/@devcodex-auto
or natural-language auto authorization, instead of resetting every prompt.
Loosen alias token boundaries for CJK/punctuation adjacency, inject
ExecutionModeV1 on UserPromptSubmit, and clear sticky only on explicit exit
or session mismatch. Auto whitelist boundary is unchanged.
'CP1/CP2/CP3 auto-pass; do not wait for per-gate user confirmation; S01/S03-S07/C01/C10/C18 not waived; auto whitelist boundary unchanged; exit with 退出auto / exit auto mode'
392
+
].join(' | ')
393
+
}
394
+
return[
395
+
'ExecutionModeV1: confirm',
396
+
'sticky=false',
397
+
'source=none',
398
+
'confirm mode: wait for explicit CP confirmation'
399
+
].join(' | ')
280
400
}
281
401
282
402
functionbuildMultiProjectBlockMessage(){
@@ -314,7 +434,13 @@ function buildLifecycleProjectTargetUtils({
Copy file name to clipboardExpand all lines: hooks/_runtime/lifecycle.cjs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -350,6 +350,7 @@ const {
350
350
setStickyProject,
351
351
shouldSuppressMultiProjectWarning,
352
352
detectExecutionMode,
353
+
buildExecutionModeContextMessage,
353
354
buildMultiProjectBlockMessage
354
355
}=buildLifecycleProjectTargetUtils({
355
356
fs,
@@ -1322,6 +1323,7 @@ async function main() {
1322
1323
'UserPromptSubmit',
1323
1324
[
1324
1325
buildBootstrapMessage(state),
1326
+
buildExecutionModeContextMessage(state),
1325
1327
continuationResolution
1326
1328
? `TaskResolutionV1 resolved-active: ${continuationResolution.candidate.project}/${continuationResolution.candidate.kind}/${continuationResolution.candidate.displayName}. The name only locates the task; rehydrate identity, sessions, and current bound artifacts before continuing.`
Copy file name to clipboardExpand all lines: instructions/01-common.instructions.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,8 @@ version: 1.15.3
135
135
当用户选择 `@devcodex-auto`、全局默认 `@rocky`、Profile `config.json` 的 `extensions.devcodex.autoAliases` 替换别名,或在文本宿主中明确自然语言授权 auto(如“进入 auto 模式执行”“全自动继续”“run in auto mode”)时:
136
136
137
137
- Auto v1.1 正式入口包括显式 `@devcodex-auto`、全局默认 `@rocky`、项目 Profile 配置的 `extensions.devcodex.autoAliases` 替换别名与明确自然语言 auto 授权;配置了 `autoAliases` 时该列表替换全局默认别名,空数组表示关闭默认别名;模糊提及、追问 auto 规则、普通“继续”或未生效昵称不等价于 auto 授权
> 当用户选择 `@devcodex-auto`、全局默认 `@rocky`、Profile 配置的 auto 替换别名,或在文本宿主中明确自然语言授权 auto(如“进入 auto 模式执行”“全自动继续”“run in auto mode”)时:
22
22
23
23
- Auto v1.1 正式入口包括显式 `@devcodex-auto`、全局默认 `@rocky`、项目 Profile `extensions.devcodex.autoAliases` 替换别名与明确自然语言 auto 授权;配置了 `autoAliases` 时该列表替换全局默认别名,空数组表示关闭默认别名;模糊提及、询问 auto 规则、普通“继续”或未生效昵称不等价于 auto 授权
0 commit comments