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

推荐订阅源

IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
J
Java Code Geeks
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Martin Fowler
Martin Fowler
美团技术团队
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recent Announcements
Recent Announcements
Vercel News
Vercel News
V
Visual Studio Blog
博客园 - 叶小钗
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学

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
Move Codex soul context to developer instructions (#84331...
pash-openai · 2026-05-20 · via Recent Commits to openclaw:main

@@ -166,7 +166,8 @@ PR.

166166167167

## Workspace bootstrap injection

168168169-

Bootstrap files are trimmed and appended under **Project Context** so the model sees identity and profile context without needing explicit reads:

169+

Bootstrap files are resolved from the active workspace, then routed to the

170+

prompt surface that matches their lifetime:

170171171172

- `AGENTS.md`

172173

- `SOUL.md`

@@ -177,23 +178,24 @@ Bootstrap files are trimmed and appended under **Project Context** so the model

177178

- `BOOTSTRAP.md` (only on brand-new workspaces)

178179

- `MEMORY.md` when present

179180180-

All of these files are **injected into the context window** on every turn unless

181-

a file-specific gate applies. `HEARTBEAT.md` is omitted on normal runs when

182-

heartbeats are disabled for the default agent or

181+

On the native Codex harness, OpenClaw avoids repeating stable workspace files

182+

in every user turn. Codex loads `AGENTS.md` through its own project-doc

183+

discovery. `SOUL.md`, `IDENTITY.md`, `TOOLS.md`, and `USER.md` are forwarded as

184+

Codex developer instructions. `HEARTBEAT.md` content is not injected; heartbeat

185+

turns get a collaboration-mode note pointing to the file when it exists and is

186+

non-empty. `MEMORY.md` and active `BOOTSTRAP.md` content keep the normal

187+

turn-context role for now.

188+189+

On non-Codex harnesses, bootstrap files continue to be composed into the

190+

OpenClaw prompt according to their existing gates. `HEARTBEAT.md` is omitted on

191+

normal runs when heartbeats are disabled for the default agent or

183192

`agents.defaults.heartbeat.includeSystemPromptSection` is false. Keep injected

184-

files concise, especially `MEMORY.md`. `MEMORY.md` is intended to stay a

185-

curated long-term summary; detailed daily notes belong in `memory/*.md` where

193+

files concise, especially `MEMORY.md`. `MEMORY.md` is intended to stay a curated

194+

long-term summary; detailed daily notes belong in `memory/*.md` where

186195

`memory_search` and `memory_get` can retrieve them on demand. Oversized

187196

`MEMORY.md` files increase prompt usage and can be partially injected because of

188197

the bootstrap file limits below.

189198190-

When a session runs on the native Codex harness, Codex loads `AGENTS.md`

191-

through its own project-doc discovery. OpenClaw still resolves the remaining

192-

bootstrap files and forwards them as Codex config instructions, so `SOUL.md`,

193-

`TOOLS.md`, `IDENTITY.md`, `USER.md`, `HEARTBEAT.md`, `BOOTSTRAP.md`, and

194-

`MEMORY.md` keep the same workspace-context role without duplicating

195-

`AGENTS.md`.

196-197199

<Note>

198200

`memory/*.md` daily files are **not** part of the normal bootstrap Project Context. On ordinary turns they are accessed on demand via the `memory_search` and `memory_get` tools, so they do not count against the context window unless the model explicitly reads them. Bare `/new` and `/reset` turns are the exception: the runtime can prepend recent daily memory as a one-shot startup-context block for that first turn.

199201

</Note>