[Bug] Claude Code ignoring context and project rules from claude.md and conversation history

Resolved 💬 3 comments Opened Apr 17, 2026 by esttorhe Closed May 25, 2026

Bug Description
claude code's performance keeps getting worst and worst every day… it keeps ignoring the rules set on claude.md or even stuff we discussed 4 sentences ago. keeps messing up and wasting a tone of tokens by having to rework stuff that we had already spec'd and refined because it decided to do whatever it wanted

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.92
  • Feedback ID: ff35c1c8-a5fd-4986-9239-a1cbd26190a0

Errors

[{"error":"Error: Failed to clone marketplace repository: HTTPS authentication failed. Please ensure your credential helper is configured (e.g., gh auth login).\n\nOriginal error: Cloning into '/Users/esteban.torres/.claude/plugins/marketplaces/zenjob-claude-plugins'...\nwarning: templates not found in /Users/esteban.torres/.git_templates/\nfatal: could not read Username for 'https://github.com': terminal prompts disabled\n    at ks (/$bunfs/root/src/entrypoints/cli.js:4484:341)\n    at async Y88 (/$bunfs/root/src/entrypoints/cli.js:4490:1953)\n    at async eU (/$bunfs/root/src/entrypoints/cli.js:4495:281)\n    at async St_ (/$bunfs/root/src/entrypoints/cli.js:7960:27920)\n    at async sQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:29094)\n    at async eQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:30548)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T16:16:13.131Z"},{"error":"Error: Failed to clone marketplace repository: SSH authentication failed. Please ensure your SSH keys are configured for GitHub, or use an HTTPS URL instead.\n\nOriginal error: Cloning into '/Users/esteban.torres/.claude/plugins/marketplaces/zenjob-claude-plugins'...\nwarning: templates not found in /Users/esteban.torres/.git_templates/\nERROR: Repository not found.\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n    at ks (/$bunfs/root/src/entrypoints/cli.js:4484:341)\n    at async Y88 (/$bunfs/root/src/entrypoints/cli.js:4490:2195)\n    at async eU (/$bunfs/root/src/entrypoints/cli.js:4495:281)\n    at async St_ (/$bunfs/root/src/entrypoints/cli.js:7960:27920)\n    at async sQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:29094)\n    at async eQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:30548)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T16:16:15.360Z"},{"error":"Error: Failed to clone marketplace repository: SSH authentication failed. Please ensure your SSH keys are configured for GitHub, or use an HTTPS URL instead.\n\nOriginal error: Cloning into '/Users/esteban.torres/.claude/plugins/marketplaces/zenjob-claude-plugins'...\nwarning: templates not found in /Users/esteban.torres/.git_templates/\nERROR: Repository not found.\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n    at ks (/$bunfs/root/src/entrypoints/cli.js:4484:341)\n    at async Y88 (/$bunfs/root/src/entrypoints/cli.js:4490:2195)\n    at async eU (/$bunfs/root/src/entrypoints/cli.js:4495:281)\n    at async St_ (/$bunfs/root/src/entrypoints/cli.js:7960:27920)\n    at async sQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:29094)\n    at async eQ7 (/$bunfs/root/src/entrypoints/cli.js:7960:30548)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T16:16:15.360Z"},{"error":"Error: Failed to create shell snapshot: Command failed: /bin/zsh -c -l SNAPSHOT_FILE=/Users/esteban.torres/.claude/shell-snapshots/snapshot-zsh-1776356235417-xpmoot.sh\n      source \"/Users/esteban.torres/.zshrc\" < /dev/null\n\n      # First, create/clear the snapshot file\n      echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n\n      # When this file is sourced, we first unalias to avoid conflicts\n      # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n      # which can cause unexpected behavior when functions use commands that conflict with aliases\n      echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n      echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n\n      \n      echo \"# Functions\" >> \"$SNAPSHOT_FILE\"\n\n      # Force autoload all functions first\n      typeset -f > /dev/null 2>&1\n\n      # Now get user function names - filter completion functions (single underscore prefix)\n      # but keep double-underscore helpers (e.g. __zsh_like_cd from mise, __pyenv_init)\n      typeset +f | grep -vE '^_[^_]' | while read func; do\n        typeset -f \"$func\" >> \"$SNAPSHOT_FILE\"\n      done\n    \n      echo \"# Shell Options\" >> \"$SNAPSHOT_FILE\"\n      setopt | sed 's/^/setopt /' | head -n 1000 >> \"$SNA…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗