[Bug] Claude ignores configured execution workflow rules and memory directives
Resolved 💬 3 comments Opened Dec 6, 2025 by jasonewillis Closed Dec 10, 2025
Bug Description
I keep asking Claude to run scripts it ask's me to run, I've placed directives in memory, created /hooks, etc. It knows that it's failing and/or ignoring the workflow rules but continues to not follow them.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.60
- Feedback ID: 480d1f0c-4f99-4752-95c2-48a9b1c9f0a9
Errors
[{"error":"McpError: MCP error -32603: Authentication Failed: Bad credentials\n at BB1._onresponse (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:41898)\n at _transport.onmessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:39094)\n at ke1.processReadBuffer (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:2163)\n at Socket.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:1529)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-12-06T06:53:54.544Z"},{"error":"McpError: MCP error -32603: role \"postgres\" does not exist\n at BB1._onresponse (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:41898)\n at _transport.onmessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:39094)\n at ke1.processReadBuffer (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:2163)\n at Socket.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:1529)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-12-06T09:00:52.364Z"},{"error":"McpError: MCP error -32603: Authentication Failed: Bad credentials\n at BB1._onresponse (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:41898)\n at _transport.onmessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:39094)\n at ke1.processReadBuffer (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:2163)\n at Socket.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:1529)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-12-06T09:37:58.812Z"},{"error":"Error: Error: ENOENT: no such file or directory, scandir '/Users/jasonewillis/Developer/jwRepos/JLWAI/fedJobAdvisor/tests/e2e'\n at i32 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:37247)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:48282)\n at async fx7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3094:16949)","timestamp":"2025-12-06T09:43:50.494Z"},{"error":"Error: Not connected\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:42245\n at new Promise (<anonymous>)\n at BB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:42186)\n at BB1.callTool (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:175653)\n at i32 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:36947)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1585:48288)\n at fx7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3094:16957)","timestamp":"2025-12-06T13:51:22.490Z"},{"error":"McpError: MCP error -32603: role \"postgres\" does not exist\n at BB1._onresponse (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:41898)\n at _transport.onmessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:39094)\n at ke1.processReadBuffer (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:2163)\n at Socket.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1487:1529)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/re
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗