Tak Hoffman
1aeaf811b0
Merge branch 'main' into fix/1897-session-status-time-hint
2026-01-31 19:58:05 -06:00
Josh Palmer
7a6c40872d
Agents: add system prompt safety guardrails ( #5445 )
...
* 🤖 agents: add system prompt safety guardrails
What:
- add safety guardrails to system prompt
- update system prompt docs
- update prompt tests
Why:
- discourage power-seeking or self-modification behavior
- clarify safety/oversight priority when conflicts arise
Tests:
- pnpm lint (pass)
- pnpm build (fails: DefaultResourceLoader missing in pi-coding-agent)
- pnpm test (not run; build failed)
* 🤖 agents: tighten safety wording for prompt guardrails
What:
- scope safety wording to system prompts/safety/tool policy changes
- document Safety inclusion in minimal prompt mode
- update safety prompt tests
Why:
- avoid blocking normal code changes or PR workflows
- keep prompt mode docs consistent with implementation
Tests:
- pnpm lint (pass)
- pnpm build (fails: DefaultResourceLoader missing in pi-coding-agent)
- pnpm test (not run; build failed)
* 🤖 docs: note safety guardrails are soft
What:
- document system prompt safety guardrails as advisory
- add security note on prompt guardrails vs hard controls
Why:
- clarify threat model and operator expectations
- avoid implying prompt text is an enforcement layer
Tests:
- pnpm lint (pass)
- pnpm build (fails: DefaultResourceLoader missing in pi-coding-agent)
- pnpm test (not run; build failed)
2026-01-31 15:50:15 +01:00
Peter Steinberger
9a7160786a
refactor: rename to openclaw
2026-01-30 03:16:21 +01:00
Conroy Whitney
034d4513d9
fix(system-prompt): hint session_status for date/time instead of embedding it
...
The system prompt intentionally excludes the current date/time for cache
stability (see 66eec295b ). This leaves agents without date awareness,
causing wrong day-of-week claims (#1897 , #1928 , #2108 ).
Instead of reverting the cache optimization, add a one-line hint directing
agents to use session_status when they need the current date/time. This
keeps the prompt stable while teaching frontier models where to look.
Also adds a negative test ensuring the date/time is NOT re-added to the
system prompt, with comments explaining why and pointing to #3658 for the
complementary gateway-level timestamp injection approach.
Refs: #1897 , #1928 , #3658
2026-01-28 20:08:31 -05:00
Peter Steinberger
6d16a658e5
refactor: rename clawdbot to moltbot with legacy compat
2026-01-27 12:21:02 +00:00
Peter Steinberger
a6ddd82a14
feat: add TTS hint to system prompt
2026-01-24 10:25:42 +00:00
Peter Steinberger
66eec295b8
perf: stabilize system prompt time
2026-01-24 06:24:04 +00:00
Neo
2accb47e4d
fix: follow soul.md more closely ( #1434 )
...
* Agents: honor SOUL.md persona guidance
* fix: harden SOUL.md detection (#1434 ) (thanks @neooriginal)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-01-23 05:00:13 +00:00
Peter Steinberger
1a8b106f34
style: format agent workspace and prompts
2026-01-22 08:05:55 +00:00
Peter Steinberger
a2981c5a2c
feat: add elevated ask/full modes
2026-01-22 05:41:11 +00:00
Peter Steinberger
e0896de2bf
feat: surface repo root in runtime prompt
2026-01-22 05:20:42 +00:00
Peter Steinberger
9e22f019db
feat: fold gateway service commands into gateway
2026-01-21 17:45:26 +00:00
Peter Steinberger
15e5bb3459
feat: improve /new model hints and reset confirmation
2026-01-20 14:35:20 +00:00
Peter Steinberger
55d034358d
refactor: unify system prompt runtime params
2026-01-19 05:27:52 +00:00
Peter Steinberger
0d543dd1ff
test: update expectations for session reset behavior
2026-01-18 22:51:37 +00:00
Peter Steinberger
e7e34c442e
fix: smooth TUI waiting shimmer ( #1196 ) (thanks @vignesh07)
2026-01-18 22:37:36 +00:00
Peter Steinberger
be6a3d4caf
fix: unblock build and slack monitor
2026-01-18 16:35:18 +00:00
Peter Steinberger
b546b2a48d
fix: stabilize slack http receiver import
2026-01-18 15:44:17 +00:00
Peter Steinberger
e9a08dc507
feat: enrich system prompt docs guidance
2026-01-18 15:00:36 +00:00
Sash Catanzarite
89bbbe75a6
fix: honor message tool channel for tool dedupe ( #1053 )
...
- Treat message tool `channel` as provider hint for dedupe/suppression.
- Prefer NO_REPLY after message tool sends to avoid duplicate replies.
Co-authored-by: Sash Catanzarite <1166151+thesash@users.noreply.github.com >
2026-01-17 00:23:51 +00:00
Peter Steinberger
bca5c0d569
refactor: system prompt sections + docs/tests
2026-01-16 00:28:43 +00:00
Peter Steinberger
8b89980a89
feat(date-time): standardize time context and tool timestamps
2026-01-15 22:27:06 +00:00
Peter Steinberger
2b1c26f900
fix: refine telegram reactions ( #964 ) (thanks @bohdanpodvirnyi)
2026-01-15 17:20:17 +00:00
Peter Steinberger
8b48299d8f
Merge pull request #953 from roshanasingh4/fix/cli-quick-reference-system-prompt
...
Fix system prompt: prevent invented CLI commands
2026-01-15 16:55:52 +00:00
Roshan Singh
d0455f2683
fix(system-prompt): add CLI quick reference to prevent invented commands
2026-01-15 11:43:22 +00:00
Cash Williams
51e871f9e5
Make timezone and 24 hour clock explicit in system prompt
2026-01-15 06:08:43 +00:00
Peter Steinberger
90342a4f3a
refactor!: rename chat providers to channels
2026-01-13 08:40:39 +00:00
Peter Steinberger
98337a14b3
fix: rename bash tool to exec ( #748 ) (thanks @myfunc)
2026-01-12 02:49:55 +00:00
Peter Steinberger
9046296ed3
fix: clarify sub-agent sandbox limits
2026-01-11 05:04:14 +01:00
Peter Steinberger
6d70524aa8
fix: add reasoning visibility hint
2026-01-10 22:24:22 +01:00
Peter Steinberger
46e00ad5e7
fix: describe sandboxed elevated in prompt
2026-01-10 21:37:15 +01:00
Peter Steinberger
8466e53b5d
fix: restore Anthropic OAuth tool dispatch
2026-01-10 04:01:00 +01:00
Peter Steinberger
24605379b9
refactor: centralize skills prompt resolution
2026-01-09 21:27:20 +01:00
Peter Steinberger
4861f09f78
fix: inject skills prompt list
2026-01-09 21:20:51 +01:00
Peter Steinberger
6d378ee608
feat(telegram): inline keyboard buttons ( #491 )
...
Co-authored-by: Azade <azade@hey.com >
2026-01-09 20:47:03 +01:00
Peter Steinberger
c54f2a122a
fix: update changelog + prompt test
2026-01-08 20:08:27 +01:00
Peter Steinberger
cad853b547
refactor: rebuild agent system prompt
2026-01-08 02:20:30 +01:00
Peter Steinberger
56310bad44
docs: add gateway self-update prompt guidance
2026-01-08 01:37:02 +01:00
Josh Palmer
4e14123edd
Merge pull request #378 from timkrase/system-prompt-weekday
...
Agents: add weekday to user time (codex assisted)
2026-01-07 11:27:07 +01:00
Tobias Bischoff
412990a139
Reduce prompt token overhead with leaner context injections
2026-01-07 10:04:23 +00:00
Tim Krase
e58e13708d
Agents: add weekday to user time
2026-01-07 11:02:39 +01:00
Peter Steinberger
75c66acfd8
feat: update subagent announce + archive
2026-01-07 06:53:01 +01:00
Peter Steinberger
ac3dedaa1b
feat: standardize timestamps to UTC
2026-01-05 23:03:59 +00:00
Peter Steinberger
724354b9f0
fix: make tool list dynamic in system prompt
2026-01-05 06:36:24 +00:00
Peter Steinberger
ad9d6f616d
fix: improve onboarding auth UX
2026-01-02 15:03:38 +01:00
Peter Steinberger
bc916dbf35
feat: require final tag format in system prompt
2025-12-24 00:52:30 +00:00
Peter Steinberger
b05981ef27
fix: add reasoning tag hint for local providers
2025-12-23 14:34:56 +00:00
Peter Steinberger
42f1a56832
test: cover system prompt owner numbers
2025-12-23 14:20:09 +00:00