claude-code - 💡(How to fix) Fix [Bug] Claude Opus 4.7 repeatedly violates explicit prompt instructions and operational filters in Claude Code sessions [3 comments, 3 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
anthropics/claude-code#53753Fetched 2026-04-28 06:48:07
View on GitHub
Comments
3
Participants
3
Timeline
6
Reactions
0
Timeline (top)
commented ×3labeled ×3

Error Message

[{"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…

Code Example

[{"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
RAW_BUFFERClick to expand / collapse

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.

extent analysis

TL;DR

The most likely fix is to ensure the mdbase-lsp executable is properly installed and included in the system's PATH.

Guidance

  1. Verify mdbase-lsp installation: Check if mdbase-lsp is installed and its version is compatible with the current setup.
  2. Check PATH environment variable: Ensure the directory containing mdbase-lsp is included in the system's PATH environment variable.
  3. Review error logs: Analyze the provided error logs to identify any patterns or additional clues that might point to the root cause of the issue.

Example

No specific code snippet can be provided without more context, but checking the PATH variable can be done using the command echo $PATH in the terminal.

Notes

The issue seems to be related to a missing executable (mdbase-lsp) in the system's PATH. Without more information about the installation process or the environment, it's challenging to provide a more detailed solution.

Recommendation

Apply a workaround by manually adding the directory containing mdbase-lsp to the PATH variable, if it exists, to test if this resolves the issue.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude Opus 4.7 repeatedly violates explicit prompt instructions and operational filters in Claude Code sessions [3 comments, 3 participants]