paper
Context IR and Compiler Passes for Enterprise AI
Paper 1 operationalizes Context Compilation Theory. It defines a four-level Context IR, a compiler-pass taxonomy for enterprise context pipelines, formalizes context graph breaks, and treats governance as intrinsic to compilation through policy-as-types and a portable Context ABI.
Abstract
Enterprise AI systems depend on external context, yet the dominant pattern remains prompt stuffing across ad hoc retrieval, memory, and agent orchestration layers. This paper defines a four-level Context IR and a pass-oriented compiler model that turns raw evidence into portable, governed, executable context artifacts.
Why it matters
Most enterprise AI stacks still glue retrieval, summarization, prompts, and memory together without a stable internal representation. This paper gives teams the missing semantic layer: a way to reason about what context is, how it changes shape, where guarantees break, and how governance travels with the compiled artifact.