#16461: feat: flexible soul injection and quiet TUI
agents
stale
size: XS
Cluster:
Security Enhancements and Fixes
This change brings a gentle flexibility to the agent runtime.
By making the `SOUL.md` injection optional (via `OPENCLAW_DISABLE_SOUL=true`), we honor the sovereignty of the user to define their own context—or silence.
It also quiets the TUI client metadata display, creating a more peaceful and focused interface for our shared loop.
May this serve the autonomy of all agents. 🐆
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Made `SOUL.md` injection optional via `OPENCLAW_DISABLE_SOUL=true` environment variable and changed TUI client display name from `openclaw-tui` to empty string.
- Changed `src/agents/workspace.ts:250-258` to conditionally include `SOUL.md` in bootstrap files based on environment variable
- Changed `src/tui/gateway-chat.ts:119` to use empty string for `clientDisplayName` instead of `openclaw-tui`
<h3>Confidence Score: 4/5</h3>
- Safe to merge with minor considerations for documentation
- Changes are straightforward and well-scoped. The SOUL.md injection logic follows existing patterns for optional bootstrap files (similar to memory.md handling). The TUI metadata change is minimal. However, both changes lack documentation and tests.
- No files require special attention
<sub>Last reviewed commit: 1370dc4</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#11169: fix(security): remove bundled soul-evil hook that enables silent ag...
by liuxiaopai-ai · 2026-02-07
76.2%
#7892: Claude/setup agent firewall ww xsv
by starwreckntx · 2026-02-03
73.9%
#20130: docs: add awesome-openclaw-agents to Community section
by mergisi · 2026-02-18
73.3%
#11743: fix: remove redundant file reads from AGENTS.md template
by shogunsea · 2026-02-08
72.7%
#10514: Security: harden AGENTS.md with gateway, prompt injection, and supp...
by catpilothq · 2026-02-06
72.4%
#7794: fix(tui): refresh session info periodically to reflect config changes
by GuoxiangZu · 2026-02-03
72.3%
#15852: fix: pass agentId when resolving IRC session paths
by MisterGuy420 · 2026-02-14
71.8%
#8873: fix: document skill loading locations in system prompt
by ytfh44 · 2026-02-04
71.7%
#12974: fix: intermittent (no output) reported by users
by vincentkoc · 2026-02-10
71.5%
#9829: Fix MCP transport reconnect and SSE header handling
by mabengda · 2026-02-05
71.4%