liveBook · Manning

Context failure

As explained in Vibe Engineering

A context problem is a deficiency or mismatch in the information supplied to an AI model for a task.

Context failure occurs when an AI system produces the wrong result because its supplied information is deficient, mismatched, stale, distracting, or poorly positioned. It is the most directly controllable failure category in agent-assisted work, and it follows from treating an AI model as an oracle instead of a programmable text engine. Context engineering addresses the whole information environment: what the model receives, in what order, at what detail, and from which sources. section 3.0 section 3.1

Recognize context failure in four recurring forms:

  • Too little context creates a vacuum in which the model must guess missing requirements, dependencies, or intent. section 3.0
  • Too much context creates context rot, where irrelevant information competes with the task. section 3.0
  • Stale or incorrect context poisons the result, such as directing an agent toward obsolete documentation. section 3.0 section 3.5.4
  • Correct information can still fail when it appears where the model has stopped paying attention: lost in the middle. section 3.0

Treat context as an engineering input rather than a prompt-writing detail. Set the goal, constraints, and acceptance criteria; supervise retrieval; correct wrong sources; and maintain persistent role and rule context through an agent manifest. Agents reduce manual fetching, but they do not remove the need to direct, inspect, and debug the context-building process. section 3.5.4 section 3.0

How Vibe Engineering covers it

How deep it goes
Defines four failure shapes and connects them to context engineering, but defers detailed implementation techniques.
Examples
Uses open files, dependency graphs, obsolete documentation, retrieval, prompts, and agent manifests as context examples.
What it assumes
Assumes basic use of AI coding or chat tools while teaching why prompts alone cannot supply adequate task context.
What you can do after
Diagnose context failures, correct retrieval, and specify goals, constraints, rules, and acceptance criteria for agents.
How it connects
Connects prompt engineering, context engineering, retrieval, agent manifests, and acceptance criteria.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vibe Engineering. The section links point to the parts of the book it draws on.