openclaw - ✅(Solved) Fix ⚠️ 📝 Edit: in workspace/AGENTS.md failed warning appears on every Feishu operation [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#80066Fetched 2026-05-11 03:19:09
View on GitHub
Comments
1
Participants
2
Timeline
30
Reactions
2
Timeline (top)
referenced ×28commented ×1cross-referenced ×1

A warning message "⚠️ 📝 Edit: in ~/.openclaw/workspace/AGENTS.md failed" appears as a fixed-format notification in the Feishu channel on every user operation involving workspace file edits.

Where it appears: Feishu channel only (not in OpenClaw TUI) When it appears: Every time the user performs an operation that involves editing workspace files File affected: AGENTS.md (but the file itself updates correctly)

Error Message

  1. Only appear once as an error, not as a repeated notification on every operation
  2. Be accompanied by actionable error information if it's a genuine failure

Root Cause

A warning message "⚠️ 📝 Edit: in ~/.openclaw/workspace/AGENTS.md failed" appears as a fixed-format notification in the Feishu channel on every user operation involving workspace file edits.

Where it appears: Feishu channel only (not in OpenClaw TUI) When it appears: Every time the user performs an operation that involves editing workspace files File affected: AGENTS.md (but the file itself updates correctly)

Fix Action

Fixed

PR fix notes

PR #80121: fix(feishu): suppress stale tool-error warning payloads from Feishu channel delivery

Description (problem / solution / changelog)

Problem

fix(feishu): suppress stale tool-error warning payloads from Feishu channel delivery (#80066)

Real behavior proof

  • Behavior or issue addressed: Feishu's deliver() method was forwarding isError=true, kind="tool" payloads — stale mutating-tool failure warnings the LLM already recovered from. These appeared as confusing mid-conversation error messages in Feishu chats. The Telegram dispatcher already suppressed this pattern.
  • Real environment tested: Local checkout of openclaw main (2026.5.10), Node 22, pnpm vitest run extensions/feishu/src/reply-dispatcher.test.ts.
  • Exact steps or command run after this patch:
    pnpm vitest run extensions/feishu/src/reply-dispatcher.test.ts
  • Evidence after fix:

$ pnpm vitest run extensions/feishu/src/reply-dispatcher.test.ts ✓ extensions/feishu/src/reply-dispatcher.test.ts (39 tests)

Test Files 1 passed (1) Tests 39 passed (39)

Tests added: "suppresses tool-kind error payloads..." and "still delivers final error replies..." — both pass. `sendMessageFeishuMock` called exactly once (the `kind=final` payload), not for the `kind=tool` warning.
- **Observed result after fix:** `isError=true, kind="tool"` payloads are silently dropped; `isError=true, kind="final"` payloads still reach the user. 39/39 tests pass.
- **What was not tested:** Live Feishu workspace with a real mutating-tool failure mid-conversation — this is unit-tested with the existing dispatcher harness.

## Changed files

- `extensions/feishu/src/reply-dispatcher.test.ts` (modified, +31/-0)
- `extensions/feishu/src/reply-dispatcher.ts` (modified, +8/-0)
RAW_BUFFERClick to expand / collapse

Description

A warning message "⚠️ 📝 Edit: in ~/.openclaw/workspace/AGENTS.md failed" appears as a fixed-format notification in the Feishu channel on every user operation involving workspace file edits.

Where it appears: Feishu channel only (not in OpenClaw TUI) When it appears: Every time the user performs an operation that involves editing workspace files File affected: AGENTS.md (but the file itself updates correctly)

Expected behavior

This warning should either:

  1. Not appear if the file edit actually succeeds
  2. Only appear once as an error, not as a repeated notification on every operation
  3. Be accompanied by actionable error information if it's a genuine failure

Environment

  • OpenClaw version: (latest as of 2026-05-10)
  • Channel: Feishu
  • Platform: macOS
  • Filesystem: workspace is at ~/.openclaw/workspace/

Evidence

  • The warning appears in Feishu direct messages
  • The OpenClaw TUI does not show this warning
  • The file (AGENTS.md) updates correctly despite the warning
  • This is a persistent UX issue that has existed for a long time

Questions

  1. What module generates this warning message?
  2. Is this a file validation check that runs on every operation?
  3. Can this be disabled or made non-intrusive?

Reported via OpenClaw Assistant by user ou_277dfa2a166860a11fd27aa4befb0a3c

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

This warning should either:

  1. Not appear if the file edit actually succeeds
  2. Only appear once as an error, not as a repeated notification on every operation
  3. Be accompanied by actionable error information if it's a genuine failure

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING