{
  "ok": true,
  "data": {
    "entry": {
      "id": "context-rot",
      "kind": "tip",
      "kindLabel": "Tip",
      "title": "Mind the middle of long contexts",
      "body": "Models attend strongly to the beginning and end of a long prompt and get foggy in the middle. Put the instructions and the most important facts at the edges. If something keeps getting ignored, it's probably buried in the soft center.",
      "tag": "prompting",
      "date": "2025 · 08 · 12",
      "publishedAt": "2025-08-12",
      "note": "Sometimes called 'lost in the middle'.",
      "insight": {
        "aha": "A fact can be present and still practically invisible if it sits in the soft middle of a long prompt.",
        "tryThis": "Move critical constraints to the opening contract and repeat the single highest-risk fact at the end.",
        "watchFor": [
          "Middle facts ignored while opening and closing instructions are followed",
          "Retrieved context pasted without ranking",
          "Important constraints surrounded by low-value filler"
        ],
        "labId": "context-position"
      },
      "extended": [
        "Retrieval accuracy as a function of position tends to be U-shaped: strong at the start, strong at the end, sagging in the middle. A fact you need can be technically present and still effectively invisible.",
        "Design around it. Lead with the instruction, restate the critical constraint at the very end, and keep the soft middle for material you can afford to lose."
      ],
      "url": "https://tips.platphormnews.com/entries/context-rot"
    }
  }
}