zeroclaw/src/channels
Argenis 96e2a324d1
fix: make channel system prompt respect autonomy.level = full (#3952) (#3970)
When autonomy.level is set to "full", the channel/web system prompt no
longer includes instructions telling the model to ask for permission
before executing tools. Previously these safety lines were hardcoded
regardless of autonomy config, causing the LLM to simulate approval
dialogs in channel and web-interface modes even though the
ApprovalManager correctly allowed execution.

The fix adds an autonomy_level parameter to build_system_prompt_with_mode
and conditionally omits the "ask before acting" instructions when the
level is Full. Core safety rules (no data exfiltration, prefer trash)
are always included.
2026-03-24 15:17:35 +03:00
..
bluesky.rs feat(channels): add Reddit, Bluesky, and generic Webhook adapters (#3598) 2026-03-24 15:17:23 +03:00
clawdtalk.rs Implement ChannelConfig for ClawdTalk 2026-02-21 19:38:19 +08:00
cli.rs fix(channels): preserve slack thread root ids 2026-02-19 18:52:30 +08:00
dingtalk.rs perf(build): gate Matrix channel for faster iteration 2026-02-19 21:29:53 +08:00
discord.rs fix(channel): bypass mention_only gate for Discord DMs (#2983) 2026-03-24 15:17:18 +03:00
email_channel.rs feat(channel): make email subject configurable (#3190) 2026-03-11 23:27:52 -04:00
imessage.rs fix(imessage): parse attributedBody when text column is NULL 2026-03-11 03:25:05 -04:00
irc.rs fix(build): unblock strict 32-bit no-default-features builds (#3375) 2026-03-13 15:45:03 -04:00
lark.rs fix(channel): restore Lark/Feishu channel compilation (#3318) 2026-03-12 13:16:31 +00:00
linq.rs fix(linq): accept latest webhook payload shape (#3351) 2026-03-13 21:53:41 -04:00
matrix.rs fix(channel): use plain "matrix" channel key for consistent outbound routing 2026-03-24 15:16:05 +03:00
mattermost.rs feat(channels): add threading support to message channels 2026-02-19 18:52:30 +08:00
mochat.rs feat(channels): add X/Twitter and Mochat channel integrations (#3735) 2026-03-24 15:17:17 +03:00
mod.rs fix: make channel system prompt respect autonomy.level = full (#3952) (#3970) 2026-03-24 15:17:35 +03:00
mqtt.rs fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
nextcloud_talk.rs Fix: Support Nextcloud Talk Activity Streams 2.0 webhook format (#3737) 2026-03-24 15:17:22 +03:00
nostr.rs feat(channel): add Nostr channel with NIP-04 and NIP-17 support 2026-02-21 13:16:20 +08:00
notion.rs feat(notion): add Notion database poller channel and API tool (#3650) 2026-03-24 15:17:11 +03:00
qq.rs test(channel): add QQ markdown msg_type regression test (#3752) 2026-03-24 15:17:22 +03:00
reddit.rs feat(channels): add Reddit, Bluesky, and generic Webhook adapters (#3598) 2026-03-24 15:17:23 +03:00
session_backend.rs feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-24 15:17:27 +03:00
session_sqlite.rs feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-24 15:17:27 +03:00
session_store.rs feat(sessions): add SQLite backend with FTS5, trait abstraction, and migration 2026-03-24 15:17:14 +03:00
signal.rs feat(channels): add threading support to message channels 2026-02-19 18:52:30 +08:00
slack.rs fix(slack): subscribe to thread message events in polling mode (#3435) 2026-03-13 16:33:26 -04:00
telegram.rs fix(channels): respect ack_reactions config for Telegram channel (#3834) (#3913) 2026-03-24 15:17:32 +03:00
traits.rs fix(config): encrypt and decrypt all channel secrets on save/load (#3217) 2026-03-11 20:02:20 -04:00
transcription.rs feat(multi): LinkedIn tool, WhatsApp voice notes, and Anthropic OAuth fix (#3604) 2026-03-24 15:17:23 +03:00
tts.rs feat(multi): LinkedIn tool, WhatsApp voice notes, and Anthropic OAuth fix (#3604) 2026-03-24 15:17:23 +03:00
twitter.rs feat(channels): add X/Twitter and Mochat channel integrations (#3735) 2026-03-24 15:17:17 +03:00
wati.rs Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
webhook.rs feat(channels): add Reddit, Bluesky, and generic Webhook adapters (#3598) 2026-03-24 15:17:23 +03:00
wecom.rs feat(channel): add WeCom (WeChat Enterprise) Bot Webhook channel (#3439) 2026-03-13 16:44:34 -04:00
whatsapp_storage.rs fix(security): remove sensitive fields from Debug impls 2026-02-20 22:06:21 -08:00
whatsapp_web.rs feat(multi): LinkedIn tool, WhatsApp voice notes, and Anthropic OAuth fix (#3604) 2026-03-24 15:17:23 +03:00
whatsapp.rs fix(errors): improve config error messages with section paths and remediation hints 2026-02-19 11:44:04 -08:00