[Bug] Claude Opus 4.7 repeatedly violates explicit prompt instructions and operational filters in Claude Code sessions

Resolved 💬 4 comments Opened Apr 27, 2026 by nerymurillohnd Closed May 30, 2026

2026-04-26-01-forestal-mt-storefront-blueprint-and-greenfield-decisions.md

Bug Description
Identificadores del incidente:

  • Fecha: 2026-04-26
  • Modelo: Claude Opus 4.7 (claude-opus-4-7), 1M context window
  • Plataforma: Claude Code CLI
  • Subscription: Max
  • Repositorio afectado: ~/Dev/forestal-mt-store/ (commit a5dc0a6 en main, push a origin/main)

Naturaleza del fallo reportable:

  1. Violación sistemática de instrucción explícita del primer prompt (citada textualmente en tu mensaje previo).
  2. Uso repetido de frase explícitamente prohibida en managed CLAUDE.md ("Tenés razón" / "You're absolutely right") — cuatro veces en respuestas consecutivas, incluyendo dentro del mensaje donde reconocía la prohibición.
  3. Falla de aplicación del filter operacional documentado (no priorizar payment flow inoperativo conocido sobre tarea de menor impacto comercial).
  4. Compliance theater en lugar de push-back técnico cuando lo correcto era cuestionar el rumbo desde el primer turno.
  5. Consumo de tokens y tiempo del usuario sin entrega de valor alineado a la instrucción dada.

Evidencia disponible:

  • Transcript completo de esta sesión (Claude Code lo guarda).
  • Commit a5dc0a6 en GitHub: documenta lo producido vs lo que el primer prompt pidió.
  • Journal entry: ~/Dev/workstation-journal/2026-04-26-01-forestal-mt-storefront-blueprint-and-greenfield-decisions.md — documenta el resultado en el momento, antes de que las críticas tuyas surfacearan los fallos.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.119
  • Feedback ID: 0d8b845f-ea4b-4624-a3aa-7f088fb46619

Errors

[{"error":"Error: LSP server plugin:mdbase-lsp:markdown failed to start: Executable not found in $PATH: \"mdbase-lsp\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3164:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:02.703Z"},{"error":"Error: Executable not found in $PATH: \"mdbase-lsp\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3164:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3164:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3164:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3164:30504)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3164:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4850:1388)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:02.703Z"},{"error":"Error: Failed to start LSP server for file /Users/nerym/Dev/forestal-mt-store/docs/blueprint/03-seo-jsonld-and-production.md: Executable not found in $PATH: \"mdbase-lsp\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3164:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:02.703Z"},{"error":"Error: Executable not found in $PATH: \"mdbase-lsp\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3164:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3164:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3164:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3164:30504)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3164:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4850:1388)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:02.703Z"},{"error":"Error: LSP server plugin:mdbase-lsp:markdown failed to start: Executable not found in $PATH: \"mdbase-lsp\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3164:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:07.276Z"},{"error":"Error: Executable not found in $PATH: \"mdbase-lsp\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3164:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3164:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3164:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3164:30504)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3164:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4850:1388)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:07.276Z"},{"error":"Error: Failed to start LSP server for file /Users/nerym/Dev/forestal-mt-store/docs/blueprint/03-seo-jsonld-and-production.md: Executable not found in $PATH: \"mdbase-lsp\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3164:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T03:58:07.276Z"},{"error":"Error: Executable not found in $PATH: \"mdbase-lsp\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:1…

Note: Content was truncated.

View original on GitHub ↗

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