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

推荐订阅源

腾讯CDC
The Cloudflare Blog
IT之家
IT之家
V
V2EX
雷峰网
雷峰网
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
A
About on SuperTechFans
B
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
test: scope narrative env cleanup · openclaw/openclaw@6f1...
shakkernerd · 2026-06-26 · via Recent Commits to openclaw:main

@@ -1423,8 +1423,7 @@ describe("memory-core dreaming phases", () => {

1423142314241424

it("skips isolated cron run transcripts during session ingestion", async () => {

14251425

const workspaceDir = await createDreamingWorkspace();

1426-

vi.stubEnv("OPENCLAW_TEST_FAST", "1");

1427-

vi.stubEnv("OPENCLAW_STATE_DIR", path.join(workspaceDir, ".state"));

1426+

setDreamingTestEnv(path.join(workspaceDir, ".state"));

14281427

const sessionsDir = resolveSessionTranscriptsDirForAgent("main");

14291428

await fs.mkdir(sessionsDir, { recursive: true });

14301429

const transcriptPath = path.join(sessionsDir, "cron-run.jsonl");

@@ -1499,7 +1498,7 @@ describe("memory-core dreaming phases", () => {

14991498

{ trigger: "heartbeat", workspaceDir },

15001499

);

15011500

} finally {

1502-

vi.unstubAllEnvs();

1501+

restoreDreamingTestEnv();

15031502

}

1504150315051504

await expectPathMissing(

@@ -1515,8 +1514,7 @@ describe("memory-core dreaming phases", () => {

1515151415161515

it("drops generated system wrapper text without suppressing paired assistant replies", async () => {

15171516

const workspaceDir = await createDreamingWorkspace();

1518-

vi.stubEnv("OPENCLAW_TEST_FAST", "1");

1519-

vi.stubEnv("OPENCLAW_STATE_DIR", path.join(workspaceDir, ".state"));

1517+

setDreamingTestEnv(path.join(workspaceDir, ".state"));

15201518

const sessionsDir = resolveSessionTranscriptsDirForAgent("main");

15211519

await fs.mkdir(sessionsDir, { recursive: true });

15221520

const transcriptPath = path.join(sessionsDir, "ordinary-session.jsonl");

@@ -1599,7 +1597,7 @@ describe("memory-core dreaming phases", () => {

15991597

);

16001598

} finally {

16011599

vi.useRealTimers();

1602-

vi.unstubAllEnvs();

1600+

restoreDreamingTestEnv();

16031601

}

1604160216051603

const corpus = await fs.readFile(

@@ -1614,8 +1612,7 @@ describe("memory-core dreaming phases", () => {

1614161216151613

it("drops archive, cron, and heartbeat chatter from fresh session corpus output", async () => {

16161614

const workspaceDir = await createDreamingWorkspace();

1617-

vi.stubEnv("OPENCLAW_TEST_FAST", "1");

1618-

vi.stubEnv("OPENCLAW_STATE_DIR", path.join(workspaceDir, ".state"));

1615+

setDreamingTestEnv(path.join(workspaceDir, ".state"));

16191616

const sessionsDir = resolveSessionTranscriptsDirForAgent("main");

16201617

await fs.mkdir(sessionsDir, { recursive: true });

16211618

@@ -1748,7 +1745,7 @@ describe("memory-core dreaming phases", () => {

17481745

);

17491746

} finally {

17501747

vi.useRealTimers();

1751-

vi.unstubAllEnvs();

1748+

restoreDreamingTestEnv();

17521749

}

1753175017541751

const corpus = await fs.readFile(

@@ -1800,8 +1797,7 @@ describe("memory-core dreaming phases", () => {

1800179718011798

it("does not reread unchanged dreaming-generated transcripts after checkpointing skip state", async () => {

18021799

const workspaceDir = await createDreamingWorkspace();

1803-

vi.stubEnv("OPENCLAW_TEST_FAST", "1");

1804-

vi.stubEnv("OPENCLAW_STATE_DIR", path.join(workspaceDir, ".state"));

1800+

setDreamingTestEnv(path.join(workspaceDir, ".state"));

18051801

const sessionsDir = resolveSessionTranscriptsDirForAgent("main");

18061802

await fs.mkdir(sessionsDir, { recursive: true });

18071803

const transcriptPath = path.join(sessionsDir, "dreaming-narrative.jsonl");

@@ -1878,14 +1874,13 @@ describe("memory-core dreaming phases", () => {

18781874

readFileSpy.mockRestore();

18791875

} finally {

18801876

vi.restoreAllMocks();

1881-

vi.unstubAllEnvs();

1877+

restoreDreamingTestEnv();

18821878

}

18831879

});

1884188018851881

it("dedupes reset/deleted session archives instead of double-ingesting", async () => {

18861882

const workspaceDir = await createDreamingWorkspace();

1887-

vi.stubEnv("OPENCLAW_TEST_FAST", "1");

1888-

vi.stubEnv("OPENCLAW_STATE_DIR", path.join(workspaceDir, ".state"));

1883+

setDreamingTestEnv(path.join(workspaceDir, ".state"));

18891884

const sessionsDir = resolveSessionTranscriptsDirForAgent("main");

18901885

await fs.mkdir(sessionsDir, { recursive: true });

18911886

const transcriptPath = path.join(sessionsDir, "dreaming-main.jsonl");

@@ -1977,7 +1972,7 @@ describe("memory-core dreaming phases", () => {

19771972

await triggerLightDreaming(beforeAgentReply, workspaceDir, 910);

19781973

});

19791974

} finally {

1980-

vi.unstubAllEnvs();

1975+

restoreDreamingTestEnv();

19811976

}

1982197719831978

const ranked = await rankShortTermPromotionCandidates({