Context Engineering – The Thing Almost Nobody Is Actually Talking About
Context engineering - curating precisely what information goes into an AI agent's context window - matters more than model choice or toolchains for Business Central development. Since models lack implicit knowledge of AL, Base App, and BC-specific systems, developers must explicitly supply curated context to prevent agents from confidently inferring incorrect solutions based on adjacent ERP systems.

Key points
- Context engineering is the skill of strategically filling the context window with exactly what an agent needs at each step, accounting for how context evolves through multi-turn interactions and accumulates as tokens add up
- Models have no learned context for BC’s proprietary systems like VAT Entry tables or the Base App, causing them to confidently infer wrong solutions by analogy to SAP or other ERPs they learned about
- Large BC codeunits (e.g., Sales-Post at 158,000 tokens) exceed model context windows and prevent agents from understanding the full picture, making self-guided context engineering impossible
- Plan mode works by having agents autonomously discover relevant context through code navigation; it succeeds when codebases are well-structured and fails when logic is scattered across interdependent god codeunits
- Developers must actively curate and structure context rather than hoping agents will extract it, treating this responsibility as more important than selecting the best model
Quotes
- “Context matters more than your prompt. Significantly more.” (Establishes the central thesis that technical context is more decisive than prompt wording for agent success)
- “AL is not the exception. AL is the proof.” (Demonstrates that BC’s proprietary systems force explicit context engineering, proving the principle universally rather than as an edge case)
- “The agents are not failing us. We are failing the agents.” (Redirects responsibility from model limitations to developer accountability for providing structured, curated context that enables agent success)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Business Central 2026 release wave 1 (BC28): Run AL objects and open record references using fully qualified names (Support for namespaces and fully qualified names) — possibly related: both name Codeunit 80 “Sales-Post”
- Design details - Item tracking posting structure — possibly related: names Codeunit 80 “Sales-Post”
- Dynamics 365 Business Central: Manage credit limits (Warnings and Workflow) — possibly related: both name Codeunit 80 “Sales-Post”
- Snapshot debugging — possibly related: names Codeunit 80 “Sales-Post”
- Sorting by Type and Line No. in Sales and Purchase Postings — possibly related: both name Codeunit 80 “Sales-Post”
- What’s New: Server and Database - A Faster Data Stack (2023 release wave 2) — possibly related: both name Table 254 “VAT Entry”
Heads up
- gotcha: “Almost right, in code, is often worse than wrong.”
Context
- Features: plan mode in Cursor and Claude Code, context window management for agents, multi-turn agent loops, tool calls and output accumulation, context rot mitigation, self-guided context engineering
Source: Vjeko.com, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
