ALEF-PAT-024

tool-desc-cache-break

cache × invisible-prompt-edit · severity 6 · confidence 0.85

Updating a tool description (a minor wording change) silently invalidates the LLM prompt cache, causing latency spike and cost increase.

diagnosed in the wild

·

loading…

healed by ALEF

·

loading…

cited in posts

·

loading…

observable signature

{
  "behavior": "tool[0].description differs across resumes despite same workspace"
}

fix archetypes

  • static-description-dynamic-systemcost: medium

    move per-environment list out of tool description into a separate system block that lives below cache breakpoint

compounds with

cite as

# In a PR description / issue / RFC:
fixes pattern ALEF-PAT-024 (tool-desc-cache-break)
ref: https://n50.io/patterns/024

# Machine query:
GET https://n50.io/api/patterns/024

# Scan your repo for this pattern:
npx @alef-prime/audit-agent-system . --pattern=024