惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
博客园_首页
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
G
Google Developers Blog
Last Week in AI
Last Week in AI

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): respect lifecycle mismatch rotations · opencl...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main

@@ -426,20 +426,6 @@ export async function startOrResumeThread(params: {

426426

}

427427

binding = undefined;

428428

}

429-

if (

430-

binding?.threadId &&

431-

params.nativeCodeModeEnabled === false &&

432-

!persistentWebSearchRestriction

433-

) {

434-

embeddedAgentLog.debug(

435-

"codex app-server native tool surface disabled for turn; starting transient thread",

436-

{

437-

threadId: binding.threadId,

438-

},

439-

);

440-

preserveExistingBinding = true;

441-

binding = undefined;

442-

}

443429

if (binding?.threadId && (binding.contextEngine || contextEngineBinding)) {

444430

if (

445431

!contextEngineBinding ||

@@ -589,12 +575,25 @@ export async function startOrResumeThread(params: {

589575

);

590576

await clearCodexAppServerBinding(params.params.sessionFile);

591577

}

578+

} else if (

579+

params.nativeCodeModeEnabled === false &&

580+

!persistentWebSearchRestriction &&

581+

binding.dynamicToolsFingerprint !== EMPTY_DYNAMIC_TOOLS_FINGERPRINT

582+

) {

583+

embeddedAgentLog.debug(

584+

"codex app-server native tool surface disabled for turn; starting transient thread",

585+

{

586+

threadId: binding.threadId,

587+

},

588+

);

589+

preserveExistingBinding = true;

592590

} else {

591+

const resumeBinding = binding;

593592

try {

594-

const authProfileId = params.params.authProfileId ?? binding.authProfileId;

593+

const authProfileId = params.params.authProfileId ?? resumeBinding.authProfileId;

595594

const finalConfigPatch = params.buildFinalConfigPatch?.({

596595

action: "resume",

597-

binding,

596+

binding: resumeBinding,

598597

}) ?? {

599598

configPatch: params.finalConfigPatch,

600599

nativeHookRelayGeneration: params.nativeHookRelayGeneration,

@@ -606,7 +605,7 @@ export async function startOrResumeThread(params: {

606605

);

607606

const resumeParams = lifecycleTiming.measureSync("thread-resume-params", () =>

608607

buildThreadResumeParams(params.params, {

609-

threadId: binding.threadId,

608+

threadId: resumeBinding.threadId,

610609

authProfileId,

611610

model: startModelSelection.model,

612611

modelProvider: startModelProvider,

@@ -634,7 +633,7 @@ export async function startOrResumeThread(params: {

634633

const nextMcpServersFingerprint =

635634

params.mcpServersFingerprintEvaluated === true

636635

? params.mcpServersFingerprint

637-

: binding.mcpServersFingerprint;

636+

: resumeBinding.mcpServersFingerprint;

638637

await lifecycleTiming.measure("thread-resume-write-binding", () =>

639638

writeCodexAppServerBinding(

640639

params.params.sessionFile,

@@ -650,13 +649,14 @@ export async function startOrResumeThread(params: {

650649

userMcpServersFingerprint,

651650

mcpServersFingerprint: nextMcpServersFingerprint,

652651

nativeHookRelayGeneration:

653-

finalConfigPatch.nativeHookRelayGeneration ?? binding.nativeHookRelayGeneration,

654-

pluginAppsFingerprint: binding.pluginAppsFingerprint,

655-

pluginAppsInputFingerprint: binding.pluginAppsInputFingerprint,

656-

pluginAppPolicyContext: binding.pluginAppPolicyContext,

652+

finalConfigPatch.nativeHookRelayGeneration ??

653+

resumeBinding.nativeHookRelayGeneration,

654+

pluginAppsFingerprint: resumeBinding.pluginAppsFingerprint,

655+

pluginAppsInputFingerprint: resumeBinding.pluginAppsInputFingerprint,

656+

pluginAppPolicyContext: resumeBinding.pluginAppPolicyContext,

657657

contextEngine: contextEngineBinding,

658658

environmentSelectionFingerprint,

659-

createdAt: binding.createdAt,

659+

createdAt: resumeBinding.createdAt,

660660

},

661661

{

662662

authProfileStore: params.params.authProfileStore,

@@ -686,7 +686,7 @@ export async function startOrResumeThread(params: {

686686

});

687687

const activeTurnIds = readActiveCodexTurnIds(response.thread);

688688

return {

689-

...binding,

689+

...resumeBinding,

690690

threadId: response.thread.id,

691691

cwd: params.cwd,

692692

authProfileId: boundAuthProfileId,

@@ -698,10 +698,10 @@ export async function startOrResumeThread(params: {

698698

userMcpServersFingerprint,

699699

mcpServersFingerprint: nextMcpServersFingerprint,

700700

nativeHookRelayGeneration:

701-

finalConfigPatch.nativeHookRelayGeneration ?? binding.nativeHookRelayGeneration,

702-

pluginAppsFingerprint: binding.pluginAppsFingerprint,

703-

pluginAppsInputFingerprint: binding.pluginAppsInputFingerprint,

704-

pluginAppPolicyContext: binding.pluginAppPolicyContext,

701+

finalConfigPatch.nativeHookRelayGeneration ?? resumeBinding.nativeHookRelayGeneration,

702+

pluginAppsFingerprint: resumeBinding.pluginAppsFingerprint,

703+

pluginAppsInputFingerprint: resumeBinding.pluginAppsInputFingerprint,

704+

pluginAppPolicyContext: resumeBinding.pluginAppPolicyContext,

705705

contextEngine: contextEngineBinding,

706706

environmentSelectionFingerprint,

707707

lifecycle: {