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

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Recent Commits to openclaw:main

perf(secrets): propagate snapshots and eliminate esm side-effects in … test: stabilize main ci lanes · openclaw/openclaw@f327df8 perf(gateway): keep agent session working store active-only · openclaw/openclaw@54eca3f test(e2e): harden shell helper env assertions · openclaw/openclaw@e6937f9 fix(doctor): warn on unsupported active tool schemas · openclaw/openclaw@4976851 test: fix main ci expectations · openclaw/openclaw@3684696 fix(e2e): bound Telegram credential setup · openclaw/openclaw@9b28603 perf(gateway): borrow agent session lookup safely · openclaw/openclaw@3b9fa16 fix(crabbox): prefer Azure for Windows targets (#87186) · openclaw/openclaw@6afe3e8 test(e2e): isolate shell helper env · openclaw/openclaw@b28f9e0 fix(e2e): bound MCP channel connect · openclaw/openclaw@aa40174 fix(gateway): persist model auth profile suffixes · openclaw/openclaw@152f68d fix(googlechat): suppress thread sends in DMs · openclaw/openclaw@da822dd Fix embedded session file ownership race (#87159) · openclaw/openclaw@3349fe2 ci(ui): refresh raw copy baseline · openclaw/openclaw@ebe09be fix(pi-embedded): route Codex OAuth compaction through OpenAI-Codex · openclaw/openclaw@1710dac fix(commands): enforce /allowlist configWrites origin policy · openclaw/openclaw@ce64d74 fix(plugin-sdk): stop exporting vitest test helpers (#87120) · openclaw/openclaw@780bc79 perf(gateway): borrow session reads on turn hot paths · openclaw/openclaw@9c2a6a8 fix(reply): keep visible turn admission unbounded (#87044) · openclaw/openclaw@455d5e8 fix(e2e): bound Telegram proof Bot API calls · openclaw/openclaw@4b40197 fix(agents): quarantine unsupported tool schemas · openclaw/openclaw@8c644ee test(core): isolate provider and approval tests · openclaw/openclaw@e7214ef fix(agents): preserve sessions fallback errors · openclaw/openclaw@7986917 fix(prompt): route untrusted group prompts outside system prompt [AI]… · openclaw/openclaw@2c88547 feat: expose plugin approval action metadata · openclaw/openclaw@0c867ee docs(changelog): refresh 2026.5.26 notes · openclaw/openclaw@e74a039 fix: bind plugin command llm auth to host agent · openclaw/openclaw@b9f6abf fix(e2e): bound kitchen sink RPC probes · openclaw/openclaw@96bd939 ci: support native Windows Crabbox daemon hydration (#87175) · openclaw/openclaw@95c8fc9 fix: handle sessions_send active fallback failures (#86638) · openclaw/openclaw@81e7e8e fix(gateway): enable default auth rate limiting (#87148) · openclaw/openclaw@ae972fe test(media): isolate generation provider registry mocks (#87173) · openclaw/openclaw@9772cf2 perf(gateway): skip lifecycle session cache clone · openclaw/openclaw@0762aca fix(e2e): backstop Parallels update jobs · openclaw/openclaw@fdf58c1 fix(daemon): keep Windows Scheduled Task running on battery power (#5… · openclaw/openclaw@d92a333 fix(daemon): avoid workgroup schtasks user prompts · openclaw/openclaw@f348284 perf(gateway): avoid cloning live switch store reads · openclaw/openclaw@b75f70b fix(crabbox): use host-visible local work roots · openclaw/openclaw@586a6ce docs(changelog): refresh 2026.5.26 notes · openclaw/openclaw@15c0dfa fix(exec): hide unavailable durable approval actions (#86359) · openclaw/openclaw@42f0822 fix(reply): derive explicit control command turns · openclaw/openclaw@2899560 fix(e2e): check onboarding systemd noise · openclaw/openclaw@44c1cc8 test(agents): cover cold default model alias resolution · openclaw/openclaw@2e3b4b5 fix: keep plugin runtime fallback on startup root · openclaw/openclaw@2b9be22 fix: expand startup argv runtime fallback hints · openclaw/openclaw@e71b6f7 test: cover plugin runtime diagnostic context · openclaw/openclaw@78b2aee Fix runtime fallback startup argv default · openclaw/openclaw@66a8262 fix: prefer trusted argv runtime fallback roots · openclaw/openclaw@5371b96 Fix plugin runtime module resolution diagnostics · openclaw/openclaw@41fa603 fix(ui): show config open failure feedback (#87108) · openclaw/openclaw@8246e91 fix(e2e): bound Telegram RTT bot API calls · openclaw/openclaw@5981822 fix(install): bound finalization probes (#86997) · openclaw/openclaw@bf1a5c3 fix(memory): reject prompt-like memory stores (#87142) · openclaw/openclaw@119d235 fix(e2e): bound release user journey fixture probes · openclaw/openclaw@6b68d05 fix(e2e): bound bundled runtime HTTP probes · openclaw/openclaw@d886816 perf(gateway): skip duplicate turn session touch · openclaw/openclaw@8fa4fad test: avoid repeated module reloads in unit tests · openclaw/openclaw@1c8a112 fix(media): keep explicit workspace roots scoped · openclaw/openclaw@608fa52 fix(e2e): bound bundled runtime smoke commands · openclaw/openclaw@fca77dc test: route more command tests through light suite · openclaw/openclaw@bbfcdea fix(scripts): short-circuit helper help · openclaw/openclaw@4b23b36 test: harden docker smoke portability · openclaw/openclaw@10056c9 fix(agents): recover failed subagent lifecycle completions · openclaw/openclaw@4980c32 fix(e2e): hard kill timed out host commands · openclaw/openclaw@dd44a47 test: move lightweight command tests to light suite · openclaw/openclaw@2831d69 fix(scripts): handle helper cli help · openclaw/openclaw@2cc6871 fix(gateway): bound loopback preflight calls · openclaw/openclaw@6d5c15a fix(hooks): enforce default hook agent allowlist · openclaw/openclaw@e72621e fix(e2e): handle docker helper cli help · openclaw/openclaw@2814ab6 fix(codex): avoid native compaction on budget triggers (#86772) · openclaw/openclaw@eb8f9b4 test: speed up plugin test fixtures · openclaw/openclaw@05ff771 fix(e2e): bound openai chat tools client · openclaw/openclaw@de94217 fix(e2e): bound upgrade survivor probes · openclaw/openclaw@981ae13 fix(doctor): keep hooks model checks read-only (#86101) · openclaw/openclaw@371c4d6 fix(installer): tighten nonroot smoke node preflight · openclaw/openclaw@340f480 fix(e2e): bound HTTP readiness probes · openclaw/openclaw@d58f864 fix(daemon): keep node tasks off gateway listener cleanup · openclaw/openclaw@a4e0b6e perf(gateway): reuse prepared auth stores · openclaw/openclaw@d2711c9 test: speed up codex app server run attempts · openclaw/openclaw@1ce3637 build(codex): update Codex CLI to 0.134.0 · openclaw/openclaw@231a812 docs(skills): omit advisory ids from changelog notes · openclaw/openclaw@989a369 test: speed up test project routing · openclaw/openclaw@140892c Fix stale approval prompts in Control UI (#86270) · openclaw/openclaw@5297eeb fix(installer): reject stale cli node runtimes · openclaw/openclaw@49d605e test: harden e2e harness isolation · openclaw/openclaw@acbb06e fix: keep approval runtime token local-only · openclaw/openclaw@96c5766 perf(gateway): defer skipped-channel sidecars · openclaw/openclaw@145b57c docs(changelog): omit advisory id from release notes · openclaw/openclaw@d606881 docs(changelog): refresh 2026.5.26 notes · openclaw/openclaw@26c0c19 docs(skills): add release changelog update workflow · openclaw/openclaw@c8d20ae fix(e2e): bound upgrade survivor cli checks · openclaw/openclaw@c965b3a test: speed up doctor config flow tests · openclaw/openclaw@5177180 fix(events): sanitize queued system markers (#87094) · openclaw/openclaw@c1151ea fix(gateway): remove redundant unknown union · openclaw/openclaw@f393ebe test: speed up model fallback tests · openclaw/openclaw@e7f644c fix(imessage): stage remote media before understanding · openclaw/openclaw@ae52be9 fix(gateway): drop stale subagent announce history · openclaw/openclaw@982e888 fix: repair local approval resolution (#86771) · openclaw/openclaw@13cfb77 fix(e2e): bound codex media plugin setup · openclaw/openclaw@f89fcdd
perf(gateway): borrow read-only session metadata · openclaw/openclaw@8c8162f
steipete · 2026-05-27 · via Recent Commits to openclaw:main

@@ -69,6 +69,7 @@ function resolveLegacyMainStoreSessionForDefaultAgent(opts: {

6969

sessionKey?: string;

7070

sessionStore: Record<string, SessionEntry>;

7171

storePath: string;

72+

cloneOnWrite?: boolean;

7273

}): SessionKeyResolution | undefined {

7374

if (opts.defaultAgentId === DEFAULT_AGENT_ID || !opts.sessionKey) {

7475

return undefined;

@@ -92,24 +93,29 @@ function resolveLegacyMainStoreSessionForDefaultAgent(opts: {

9293

for (const legacyKey of legacyKeys) {

9394

const legacyEntry = opts.sessionStore[legacyKey];

9495

if (legacyEntry) {

95-

opts.sessionStore[opts.sessionKey] = { ...legacyEntry };

96+

const sessionStore = opts.cloneOnWrite ? { ...opts.sessionStore } : opts.sessionStore;

97+

sessionStore[opts.sessionKey] = { ...legacyEntry };

9698

return {

9799

sessionKey: opts.sessionKey,

98-

sessionStore: opts.sessionStore,

100+

sessionStore,

99101

storePath: opts.storePath,

100102

};

101103

}

102104

}

103105

return undefined;

104106

}

105-

const legacyStore = loadSessionStore(legacyStorePath);

107+

const legacyStore = loadSessionStore(

108+

legacyStorePath,

109+

opts.cloneOnWrite ? { clone: false } : undefined,

110+

);

106111

for (const legacyKey of legacyKeys) {

107112

const legacyEntry = legacyStore[legacyKey];

108113

if (legacyEntry) {

109-

opts.sessionStore[opts.sessionKey] = { ...legacyEntry };

114+

const sessionStore = opts.cloneOnWrite ? { ...opts.sessionStore } : opts.sessionStore;

115+

sessionStore[opts.sessionKey] = { ...legacyEntry };

110116

return {

111117

sessionKey: opts.sessionKey,

112-

sessionStore: opts.sessionStore,

118+

sessionStore,

113119

storePath: opts.storePath,

114120

};

115121

}

@@ -124,6 +130,7 @@ function collectSessionIdMatchesForRequest(opts: {

124130

storeAgentId?: string;

125131

sessionId: string;

126132

searchOtherAgentStores: boolean;

133+

clone?: boolean;

127134

}): SessionIdMatchSet {

128135

const matches: Array<[string, SessionEntry]> = [];

129136

const primaryStoreMatches: Array<[string, SessionEntry]> = [];

@@ -160,7 +167,10 @@ function collectSessionIdMatchesForRequest(opts: {

160167

continue;

161168

}

162169

const candidateStorePath = resolveStorePath(opts.cfg.session?.store, { agentId });

163-

addMatches(loadSessionStore(candidateStorePath), candidateStorePath);

170+

addMatches(

171+

loadSessionStore(candidateStorePath, opts.clone === false ? { clone: false } : undefined),

172+

candidateStorePath,

173+

);

164174

}

165175166176

return { matches, primaryStoreMatches, storeByKey };

@@ -203,6 +213,7 @@ export function resolveSessionKeyForRequest(opts: {

203213

sessionId?: string;

204214

sessionKey?: string;

205215

agentId?: string;

216+

clone?: boolean;

206217

}): SessionKeyResolution {

207218

const sessionCfg = opts.cfg.session;

208219

const scope = sessionCfg?.scope ?? "per-sender";

@@ -226,7 +237,8 @@ export function resolveSessionKeyForRequest(opts: {

226237

const storePath = resolveStorePath(sessionCfg?.store, {

227238

agentId: storeAgentId,

228239

});

229-

const sessionStore = loadSessionStore(storePath);

240+

const loadOptions = opts.clone === false ? { clone: false as const } : undefined;

241+

const sessionStore = loadSessionStore(storePath, loadOptions);

230242231243

const ctx: MsgContext | undefined = opts.to?.trim() ? { From: opts.to } : undefined;

232244

let sessionKey: string | undefined =

@@ -240,6 +252,7 @@ export function resolveSessionKeyForRequest(opts: {

240252

sessionKey,

241253

sessionStore,

242254

storePath,

255+

cloneOnWrite: opts.clone === false,

243256

});

244257

if (legacyMainSession) {

245258

return legacyMainSession;

@@ -262,6 +275,7 @@ export function resolveSessionKeyForRequest(opts: {

262275

storeAgentId,

263276

sessionId: requestedSessionId,

264277

searchOtherAgentStores: requestedAgentId === undefined,

278+

...(opts.clone === false ? { clone: false } : {}),

265279

});

266280

const preferredSelection = resolveSessionIdMatchSelection(matches, requestedSessionId);

267281

const currentStoreSelection =

@@ -293,6 +307,7 @@ export function resolveSession(opts: {

293307

sessionId?: string;

294308

sessionKey?: string;

295309

agentId?: string;

310+

clone?: boolean;

296311

}): SessionResolution {

297312

const sessionCfg = opts.cfg.session;

298313

const { sessionKey, sessionStore, storePath } = resolveSessionKeyForRequest({

@@ -301,6 +316,7 @@ export function resolveSession(opts: {

301316

sessionId: opts.sessionId,

302317

sessionKey: opts.sessionKey,

303318

agentId: opts.agentId,

319+

...(opts.clone === false ? { clone: false } : {}),

304320

});

305321

const now = Date.now();

306322