Chapter 14 of 17

Context Is a Bottleneck

Concepts

Chapter 14 β€” Context Is a Bottleneck

Source: 14-chapter.md

What this chapter is really about

Underneath the assembly operations, this chapter is about the end of the “more is better” era of context. Its deepest move is separating two problems everyone conflates: choosing what matters (selection) from fitting it into a finite, costly, attention-diluting window (assembly). The six failure modes (finite window, distraction, duplication, contradiction, staleness, focus loss) are really six different senses of “too much,” each earning a different operation. The hidden thesis: context is not a container to fill but a budget to spend β€” and spending needs its own layer with its own measurements, because identical selection with different assembly behaves differently.

Current thesis

Explicit claims (now measured in ch14-20260920T174259Z-context-assembly)

  • Six distinct stuffing failures, each earning an operation (order, group, deduplicate, validity-mark, cite, uncertainty-expose, provenance-preserve).
  • Retrieval β‰  assembly: what candidates might matter vs what representation this model receives for this task. Selection frozen at C5; C6 an external comparison (its coalescing lowered precision 0.474 to 0.464).
  • Fair oracle gap: CO-content 587 counted (805 rendered) at recall 1.0; CO-auditable 696 (1,060) with contradiction and licences restored; practical A6 1,156 (1,747 rendered) at recall 0.90.
  • Dedup captures almost nothing (18 of 1,174 tokens): the bottleneck is admitted distractors, not repetition β€” Type B profile.
  • Drop policy beats random dropping on preservation (contradiction 1.00 vs 0.57, licence 1.00 vs 0.38 at 768) while costing recall under pressure (0.58 vs 0.61 at 512).
  • Reader probe (55 calls, frozen reader): A6 at 768 tokens answers better (0.955) than full raw context (0.879) β€” Type C headline with Chapter 12 demotion.
  • Drop-refutes-first backtest rejected: βˆ’9.2 tokens bought with contradiction 1.00 β†’ 0.14.

Implied claims

  • Assembly operations compose (order + dedup + validity-mark stack without destructive interaction) β€” the conditions are tested separately but deployed jointly, assuming composition.
  • Distraction/dilution is behavioural and measurable without attention-mechanism claims β€” the chapter carefully hypothesises rather than asserts mechanism.
  • The task statement can drown: focus loss is real and distinct from distraction (task-vs-background framing, not just signal-vs-noise).

What the chapter already gives us

  • The six-failure decomposition. “Too long” split into cost, dilution, duplication, contradiction, staleness, focus β€” each with a different fix. This prevents “compression” from becoming a single undifferentiated prescription.
  • The selection/assembly separation with its experiment. Same selection, varied assembly, different behaviour β€” the one-level-up analogue of Ch 4 and Ch 13’s isolations. The book’s isolation method applied consistently.
  • The travelling-resolution requirement. Chapter 8’s resolution must travel with the memory, not stay in the store β€” a genuine architectural invariant (resolved state ships with data, not behind it).
  • Validity marking for background. Admitted-for-background β‰  endorsed-as-current: labelling what selection admitted is a distinct operation from selection itself.
  • The restraint list. Naming later machinery as pressures without building it β€” the same discipline as Chapters 1–8 toward task state, now toward the back block.

Where the current treatment stops

  • Compositionality is assumed, not tested: order Γ— dedup Γ— validity-mark Γ— grouping may interact (dedup removes the duplicate that carried the clearer validity mark; grouping changes order effects; validity labels add tokens that worsen dilution). The conditions isolate operations; deployment combines them. The joint may underperform the parts.
  • “Distraction” is hypothesised behaviourally with mechanism explicitly withheld β€” honest, but it leaves the load curves without a theory: if performance degrades with load, is it dilution, contradiction confusion, focus loss, or reader limitations? The failure classes are scored distinctly (good), but their causes remain black-box, limiting repair guidance.
  • Position effects (Lost in the Middle β€” cited) interact with ordering: task-critical-first is prescribed, but optimal placement may be model-specific and task-specific. Assembly tuned to one reader may misfire on the next β€” the reader-generality problem unmentioned.
  • The task statement drowning (focus loss) suggests task-protection machinery (isolating instructions from background structurally, not just positionally) that the operation list doesn’t include. Order/background-last is a weak answer to reframing-as-summarisation.
  • Budget fitting (fit_to_budget) is the final function and the least specified: which items drop first under pressure β€” the policy’s lowest-ranked? the most compressible? background before evidence? Dropping rules are policy with behavioural consequences, and they sit inside assembly unexamined.

The deeper territory

  • Assembly as compilation to a lossy medium. The prompt is a lossy channel with position-dependent fidelity, interference between items, and a task-framing overlay. Assembly is source coding for that channel: allocate bits (tokens) by behavioural value, add redundancy where it matters (key constraints repeated?), error-correct where the channel corrupts (validity marks as checksums?). Information theory has the vocabulary; the chapter’s operations are its first codebook. This framing would turn load curves into rate-distortion curves β€” performance vs bits with the distortion measured behaviourally.
  • Task protection as structure, not position. If background reframes the task as summarisation, the fix may be structural separation (instructions in a protected channel, background explicitly marked as subordinate) rather than ordering. Modern models’ instruction/background separation is itself a research area; assembly sits directly atop it. The chapter’s positional answer may be fighting a structural problem.
  • Reader-generality of assembly. Order effects, dilution points, and focus thresholds are reader properties. An assembly tuned on one model generation may be actively wrong for the next (the reader ratchet from 03-concepts, now for layout). Either assembly adapts per reader (a new policy surface) or it targets reader-invariant properties only (grouping, dedup, marking β€” the structural ops) and leaves layout to reader-specific adapters.
  • Dropping as the mirror of admission. fit_to_budget drops items under pressure β€” the dual of Chapter 13’s admission, with its own policy, traceability (“dropped X for tokens, validity lowest”), and harm potential (dropping the reversibility rule to fit background). Admission got a chapter; dropping gets a function name. The asymmetry deserves correcting.

Concepts worth developing

Assembly as source coding (rate–distortion for memory)

Idea. Treat the prompt as a lossy channel and assembly as coding: allocate tokens by behavioural value, measure performance-vs-bits curves per operation, identify each operation’s breakpoint (where it starts helping). Validity marks as checksums, grouping as block coding, dedup as entropy reduction.

Why it matters. It gives the load-curve experiments a theory: breakpoints become comparable across operations, readers, and budgets, and “which operation when” becomes a rate–distortion optimisation rather than a recipe.

Connection to the current chapter. Formalises the performance-vs-load deliverable and the per-operation breakpoints the research section already asks for.

Broader implication. Connects memory assembly to durable compression (Ch 15) under one theory: assembly is online coding, compression is offline coding, same distortion measure (behavioural fidelity).

What remains unresolved. Behavioural distortion metrics per task type; whether information-theoretic framing survives the reader-generality problem.

Task protection and instruction/background structure

Idea. Separate assembly into content operations (order, group, dedup, mark) and framing operations (task isolation, background subordination, constraint emphasis) β€” the latter protecting the task from being reframed by its own background.

Why it matters. Focus loss (task drowns) may not yield to ordering; structural separation could be the actual fix, and it generalises to instruction-hierarchy safety work.

Connection to the current chapter. Strengthens the weakest operation (order-first) against the subtlest failure (reframing-as-summarisation).

Broader implication. Assembly meets instruction hierarchy: memory-provided background must arrive marked as subordinate to task instructions β€” with security as well as quality benefits (background must not override instructions).

What remains unresolved. Model support for structural separation varies; reader-generality bites hardest here.

Dropping policy with traces

Idea. Promote fit_to_budget to a first-class policy: dropping rules (what goes first under pressure), drop traces (what was dropped and why), and drop-harm scoring (was a binding item dropped to fit trivia?). Symmetric with admission policy including ablations.

Why it matters. Under real budgets, dropping decides behaviour as much as admission; an untraced drop of the reversibility rule is a silent catastrophe.

Connection to the current chapter. Completes the assembly design; mirrors Chapter 13’s trace format on the way out.

Broader implication. Admission + dropping = the full bottleneck policy; both need tuning splits and positive controls (13-concepts applies directly).

What remains unresolved. Whether dropping should mirror admission ranking or use separate dropping-specific signals (compressibility, redundancy coverage).

Important distinctions

  • Selection (what matters) vs assembly (what fits how) β€” the chapter’s master cut.
  • Six senses of “too much” (cost, dilution, duplication, contradiction, staleness, focus).
  • Content operations vs framing operations.
  • Admission policy vs dropping policy.
  • Reader-invariant assembly (structure) vs reader-specific layout (position).
  • Behavioural distraction (measured) vs attentional mechanism (withheld).

What mechanism would make this work?

Load-graded fixtures (the eleven frozen C5 sets) Γ— assembly conditions (raw, ordered, deduplicated, grouped, marked, dropped, composed, oracles, controls) at frozen selection and matched budgets; per-class failure scoring (cost, duplication waste, contradiction, staleness, focus); token/distraction costs; 55-call reader probe on the frozen reader. Composition tested jointly in A6; reader-generality untested (one reader); dropping policy specified with traces and harm scoring; task-protection structural (evidence sections subordinate to task).

Connections to the rest of the book

  • Consumes Chapters 12–13 (selection output), 7 (chains ride along), 8 (validity marks travel), 11 (triples ride along).
  • Pressures (not builds) Chapters 15–16 β€” the restraint that keeps the back block honest.
  • The middle-book landing (retrieval β†’ reconstruction β†’ belief β†’ intention β†’ relevance β†’ active context) is the progression summarised; “remembers too much” opens the preservation/forgetting half.
  • Dropping policy mirrors admission policy (Ch 13); load curves mirror the fan profile (Ch 6) behaviourally.

Beyond the current book

  • RAPTOR and hierarchical retrieval (see 14’s refs plus RAPTOR): multi-level representations as served structures β€” assembly’s input vocabulary.
  • Instruction hierarchy and prompt-structure research: task/background separation as a safety and quality problem.
  • Information and rate–distortion theory: the candidate formalism for coding memory into bounded channels.
  • Operating systems (paging, caching, working sets): the classical theory of fitting working state into bounded fast memory β€” an underused analogy (hot/cold memories, page replacement as forgetting).
  • Sarthi et al., “RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval” (ICLR, 2024) β€” builds multi-level summary trees over documents and retrieves across abstraction levels, which is directly the served-structure side of assembly: different tasks need different representation levels, and the collapsed-tree-vs-traversal finding (flexible level choice beats fixed ratios) suggests assembly should select representation level per item, not just include/exclude. Relevant to the level-selection the chapter leaves to Chapter 15. Status: peer-reviewed. Verified via ICLR 2024 proceedings record (arXiv 2401.18059).

Possible future claims

Already supportable

  • Selection and assembly are separable layers with independent preservation effects (measured: same C5 in, different evidence/cost out).
  • Six stuffing failures need different operations (argued from mechanism sketches; dedup, grouping, marking, dropping isolated in the run).

Plausible but needs development

  • Ordered/deduped/marked assembly holds performance where raw admission degrades (the Type-A bet).
  • Breakpoints exist per operation (load curves monotonic enough to show them).

Speculative

  • Operations compose without destructive interaction.
  • Assembly transfers across readers (generality untested).

Claims worth attacking

  • The restraint (pressures named, not built) assumes the back block will fill exactly these slots. Counter: consolidation/forgetting/procedure may dissolve the bottleneck differently (less to assemble because less is kept) β€” the bottleneck’s shape depends on unbuilt layers, so assembly designed now may fit a store that never exists.
  • Behavioural distraction without mechanism risks misattribution: load-degraded performance could be reader limitations, grader noise, or task difficulty β€” “distraction cost” may measure everything and explain nothing without causal decomposition.

Tensions and counterarguments

  • Composition untested vs deployment joint: isolated conditions may not predict combined performance.
  • Reader-specific layout vs reader-invariant structure: one assembly cannot serve both masters without adaptation machinery.
  • Bottleneck-first vs preservation-first: building assembly before knowing what survives forgetting/compression may optimise the wrong store shape.

Examples and thought experiments

  • The dropped rule: budget pressure drops the reversibility rule to fit fixture background. Task proceeds, migration irreversible, harm silent. What dropping policy prevents this, and what trace would the audit show?
  • The reader swap: assembly tuned on model M (critical-first ordering optimal) deployed on model N (recency-biased reader). Map the failure; decide whether assembly adapts or standardises.
  • The reframed task: background so rich the model summarises history instead of performing the migration. Ordering didn’t prevent it. What structural operation would?

Potential demonstrations or experiments

Add: (1) composition conditions (joint ops vs isolated β€” A6 run, interaction visible in mark/rendered cost); (2) reader-generality series (same assembly across model generations β€” proposed; none run); (3) dropping-policy conditions with drop traces and drop-harm scoring (run); (4) task-protection variants (structural separation run as the sectioned render; positional ordering isolated in A1).

Research questions this chapter creates

  • What is known about position/layout effects per model generation, and are any assembly properties reader-invariant?
  • What instruction/background separation mechanisms exist, and do they prevent task reframing?
  • What does the OS paging/caching literature offer memory assembly (working sets, replacement policies as forgetting)?

Architectural implications

  • Assembly needs a dropping policy symmetric with admission (traces, ablations, tuning splits).
  • Representation-level selection (RAPTOR-style: which abstraction per item) may belong here rather than in Chapter 15.
  • Reader-specific adapters vs invariant core is an architectural fork with long-term consequences.

How would we know this works?

The chapter works if assembly conditions separate evidence preservation at matched selection/budgets with distinct failure classes per condition, and the budget sweep shows where each operation helps. It fails usefully on any axis where raw admission never loses β€” dedup did, and the chapter says so.

The chapter at its highest level

The ideal version would teach: six failures with six operations; selection/assembly separation with isolation proof; travelling resolution as invariant; composition tested jointly; dropping as first-class policy; task protection structurally; reader-generality mapped; rate–distortion framing with breakpoints. The current version separates the layers; the ideal version would also make assembly composable, droppable, and reader-robust.

Discussion

Start here

  • Operations tested in isolation, deployed in combination: what breaks when order Γ— dedup Γ— marking interact β€” and does the experiment need joint conditions?
  • fit_to_budget drops items under pressure with no policy, no trace, no harm scoring. What dropping rule, and what audit, governs what gets left out?
  • Task-critical-first ordering is reader-specific tuning. What happens on the next model generation β€” does assembly adapt per reader or standardise on invariant structure?

Push the idea further

  • If the prompt is a lossy channel, is assembly source coding β€” and do rate–distortion curves per operation replace recipes?
  • Background reframing the task as summarisation may not yield to ordering. Is task protection structural (channels, hierarchy) rather than positional?
  • If forgetting and compression shrink the store first, does the bottleneck assembly is designed for ever materialise β€” are we optimising for a store that won’t exist?

Decisions we need to make

  • Whether dropping policy becomes first-class (traces, ablations, harm scoring) now or later.
  • Whether representation-level selection sits here or in Chapter 15.
  • Whether assembly targets reader-invariant structure, per-reader adaptation, or both with an adapter boundary.

Claims worth attacking

  • “Two systems with identical selection and different assembly can behave differently.” Counter: if true, assembly is doing unacknowledged selection (dropping, compressing, reframing) β€” is the separation real or terminological?
  • “Distraction cost” as a behavioural measure. Counter: without causal decomposition it may aggregate reader limits, grader noise, and difficulty β€” measuring everything, explaining nothing.

New ideas worth exploring

  • Rate–distortion theory for memory assembly (breakpoints, optimal bit allocation by behavioural value).
  • OS paging/working-set analogies (hot memories, replacement as forgetting, thrashing as overload).
  • Instruction hierarchy as assembly’s structural layer (background subordinate by construction).

Explain this chapter with AI

Copy this prompt into ChatGPT, Claude, Gemini, a local model, or another AI.

Apply this chapter with AI

Copy this prompt into ChatGPT, Claude, Gemini, a local model, or another AI.

Chapter 10 took selection as far as a frozen run has taken it: which memories the present work needs, admitted by an explicit, traceable policy at a fixed budget. This chapter shows selection is insufficient, because admission assumes the admitted memories fit. They increasingly do not β€” and the Chapter 10 run puts a number on the shortfall, audited for fairness in planning/chapter-14-oracle-audit.md rather than taken on trust. Its ledger oracle reaches perfect required-evidence recall on a mean of 587 estimated tokens; the best real condition spends 1,161 to reach 0.901 recall. Rendered with the source headers and validity marks the reader actually sees, the figures become roughly 805 against 1,505 β€” the gap survives rendering. The auditable oracle defined in this chapter β€” content plus the disagreements, licence bearers, and marks a trustworthy system must carry β€” stands near 696 counted (1,060 rendered) tokens, still roughly 40% below the practical bundle. Roughly half the admitted budget, under a correct frame and over a good candidate pool, goes to evidence the work does not need: the practical bundle’s distractor admission sits near 0.45. That gap is not a selection failure. Selection chose those items for defensible reasons; what is missing is everything that happens between choosing a set and handing a model a context. The system now holds events, beliefs, provenance chains, validity intervals, intentions, derived loops, rules, and prior failures β€” and the obvious solution, putting all relevant memory into the prompt, fails in ways that are structural rather than incidental. Context is a bottleneck, and what passes through it must be assembled, not merely selected.

Why “put it all in” fails

Take the February compatibility-release task (task-108, as_of: 2025-02-07, for release-121 shipping 2025-02-14) with everything the book’s machinery now considers relevant: the migration decision with its support chain, the backup debt β€” completed by commit-118, so labelled historical rather than seated as live β€” the docs scope condition, the fixture warning β€” likewise historical, completed by commit-120 β€” the reversibility rule, the corpus_import caller migrations with their trap annotations, the contracted facade that must not be touched. Each item earned its place. Together they exceed the fixed budgets this chapter tests β€” and the failure modes of stuffing them in are several distinct problems, not one problem called “too long.”

Finite window and cost. The hard limit is obvious: context windows end, and tokens cost money and latency on every task. But the soft limits bite first. Every additional memory raises the price of every future task that carries it, so a policy of admitting everything relevant taxes the system continuously for the possibility of need.

Distraction and dilution. As admitted context grows, the task itself occupies a shrinking fraction of what the model must process. The mechanism here is stated carefully as hypothesis, not fact: beyond some load, task-critical instructions compete with background memories for influence over the output, and the spec’s distraction cost exists to measure the effect rather than assume it. No broad claims about attention mechanisms appear here; what needs measurement is behavioural β€” does constraint adherence degrade as admitted context grows at fixed relevance?

Duplication. The decision record, the runbook echo, and the August restatement all carry the same belief in different words. Admitting all three spends budget triplicating one fact while crowding out the fixture warning. Deduplication is not retrieval’s job β€” each copy is genuinely similar to the query β€” it is an assembly operation over the admitted set.

Contradiction in context. Historical background and current belief disagree by design: the March SQLite passages sit beside the July migration. Admitted raw, without their temporal resolution attached, they present the model with a contradiction the system already resolved and ask it to resolve it again, under task pressure, from wording. The Chapter 8 resolution must travel with the memory, not stay behind in the store.

Staleness smuggled in. A memory admitted for background β€” the spent 2023 discussion β€” carries claims that were true then and false now. Without validity marking, background becomes misinformation. The assembly must label what selection admitted: current, historical, superseded, uncertain.

Lost task focus. The subtlest failure: a context dominated by history reframes the task as summarization. The model answers what happened fluently and never performs what is needed. The task statement drowns in its own background.

Each failure earns a different operation, which is why the chapter separates them instead of prescribing “compression” as a single fix.

Retrieval is not assembly

The separation this chapter establishes, matching the spec’s failure-attribution categories:

Retrieval asks: what candidates might matter?

Context assembly asks: what exact representation of memory should this model receive for this task?

Selection ends with a ranked set. Assembly turns that set into a prompt: which items survive, in what order, grouped how, deduplicated against what, compressed to what degree, cited to what depth, with uncertainty marked where. Two systems with identical selection and different assembly can behave differently on the same task β€” the one-level-up analogue of Chapter 13’s same-store experiment β€” which makes assembly a layer with its own measurements rather than a formatting detail.

Possible operations, listed as emerging requirements rather than developed solutions:

  • select β€” the policy output, Chapters 12–13;
  • order β€” task-critical first, background last, traps flagged rather than buried;
  • group β€” the support chain travels with its belief; the loop travels with its triple;
  • deduplicate β€” echo documents collapse to one representative with a count, not three admissions;
  • compress β€” shorten with provenance preserved, a later block’s problem, not this chapter’s;
  • cite β€” every assembled claim traceable to store and artifact, the Chapter 7 discipline at the point of use;
  • expose uncertainty β€” calibrated marks where state is genuinely unresolved;
  • preserve provenance β€” chains and triples survive assembly rather than dissolving into prose.

The list stops short deliberately. Consolidation, durable compression and forgetting now meet as one long-term growth problem in Chapter 15; outcome adaptation and reusable procedures meet at the memory-learning boundary in Chapter 16. Building them now would steal the later chapters’ experiments β€” the same restraint Chapters 1–8 showed toward task state.

Conceptually, and illustratively rather than as tested code, the accumulated pipeline now reads:

def assemble_context(task, memories, budget):
    # Illustrative: policy-selected memories in, budgeted
    # assembled context out. Every operation below is a
    # placeholder for the next block's experiments.
    ranked = retrieve_for_task(task, budget)   # Ch 10, 12–13
    grouped = group_with_evidence(ranked)      # Ch 7/11 triples ride along
    deduped = collapse_echoes(grouped)         # Ch 7 derivation edges
    marked = attach_validity(deduped)          # Ch 8 intervals
    return fit_to_budget(marked, budget)       # Chapter 15 asks what survives long-term

The experiment

Selection is frozen at Chapter 10’s C5 admitted set β€” eleven tasks, the same bundles the frozen run recorded. C5 is the input rather than C6 deliberately: C6 adds coalescing and precision falls from 0.474 to 0.464 at equal recall, so C6 belongs in the comparison, not the foundation. Conditions vary only what happens after admission: raw render (A0), reordering (A1), extractive dedup (A2), grouping (A3), validity marking (A4), budget dropping with a reason per drop (A5), all composed (A6), the ledger-content oracle (CO-content), the auditable oracle with disagreements, licence bearers, and marks restored (CO-auditable), frozen C6, empty, and random-drop controls. Budgets sweep 384 through 1536 estimated tokens plus unconstrained. The frozen run is experiments/benchmark/runs/ch14-20260920T174259Z-context-assembly/, from solution/context_frames/assembly.py (assembly-v1, drop policy drop-preference-outside-first-v1), zero model calls for the evidence suite plus a bounded 55-call reader probe through the frozen Chapter 10 reader (llama3.1:8b) and key-claim scorer.

At unconstrained budget, over the eleven tasks:

condition      required-recall  counted  rendered  contra  licence
A0 raw              0.902        1174     1505     1.00    1.00
A2 dedup            0.902        1156     1480     1.00    1.00
A6 composed         0.902        1156     1747     1.00    1.00
CO-content          1.000         587      805     0.00    0.40
CO-auditable        1.000         696     1060     1.00    1.00
C6 (Ch10)           0.902        1161     1644     1.00    1.00

Three facts stand out. First, dedup saves eighteen counted tokens: genuine echo redundancy is nearly absent from C5-admitted sets, because selection already declines to admit most of it. The bottleneck is not repetition. Second, the content oracle drops contradiction entirely (0.00) and most licences (0.40): the ledger-minimum set is not a fair ceiling until the auditable oracle restores them for 109 tokens. Third, marks are not free in the render the model sees: A6’s rendered cost (1,747) exceeds raw (1,505) even as counted cost falls β€” audit metadata and reader-visible tokens are different budgets, and the trace keeps the full lineage either way.

The budget sweep is where assembly earns or loses. Required recall against budget:

budget   A6-composed  random-drop  CO-auditable
384        0.58         0.58          1.00
512        0.58         0.61          1.00
768        0.72         0.67          1.00
1024       0.82         0.79          1.00
1280       0.85         0.89          1.00
1536       0.90         0.90          1.00

The composed policy beats random dropping on what random cannot see: at 768, contradiction preservation is 1.00 against 0.57 and licence preservation 1.00 against 0.38. But the guarantee costs recall under pressure β€” at 512 random dropping keeps more required evidence (0.61 vs 0.58), because the policy spends scarce budget protecting disagreement and licences that the ledger does not score as required. That trade is visible rather than hidden: every drop carries its tier, saving, and cover, as in this T1-architecture case at 768, where the required mb-arch-spine falls with covered_by=none while mb-ch09-result falls covered by the dissent it shares a group with β€” and the dissent itself survives.

The reader probe sharpens the picture without settling Chapter 12’s question. Mean key-claim coverage through the frozen reader, forbidden-claim rate zero everywhere:

A0 full (1174):  0.879
A6 at 768 (659): 0.955
A6 full (1156):  0.894
CO-auditable (696): 0.879
C6 (1161):       0.939

A smaller assembled context (659 tokens) answers better than the full raw context (1,174) on the existing scorer β€” the same 0.955 the frozen Chapter 10 C6 reached β€” while required-evidence recall at that budget is only 0.72. Evidence sufficiency and reader sufficiency disagree here in the useful direction, and in a way that belongs to Chapter 12: the reader answers from partial evidence, and one task’s coverage moves with ordering alone. The headline of this chapter stays bounded to assembly, evidence preservation, and cost.

Policy learning follows the Chapter 10 and 11 discipline. The tempting repair β€” treat contradiction as ordinary budget weight when a long dissent crowds out supporting evidence β€” is proposed as an immutable drop-policy version, replayed over the suite at budget 512, and rejected: it saves 9.2 tokens and even nudges recall, but contradiction preservation collapses from 1.00 to 0.14. A cheaper context bought with lost disagreement stays out.

Book result. Assembly earns a distinct layer with a Type B profile and a Type C headline. Simple extractive dedup captures almost nothing (18 of 1,174 tokens), so the bottleneck is not repetition but admitted distractors β€” yet under a hard budget the composed policy preserves contradiction and licences where random dropping does not, and at 768 tokens answers better than the full raw context on the existing scorer. The fair oracle gap is real but narrower than Chapter 10 suggested: 696 auditable tokens against 1,156 assembled (1,174 selected), with required recall 1.00 against 0.90. Demotion clauses: controlled project fixtures, one primary reader, estimated token counts, C5-admitted evidence only, no generative compression (Chapter 16’s problem, deliberately unbuilt here).

Where the middle of the book lands

Fourteen chapters now form one progression, each step forced by the last:

retrieval
β†’ reconstruction
β†’ belief
β†’ unfinished intention
β†’ situational relevance
β†’ active context

The system retrieves history, reconstructs what happened, justifies its beliefs, tracks them through time, maintains what remains undone β€” including consequences nobody stated β€” selects what the present task needs by explicit policy, and assembles it for a bottlenecked context. What it cannot yet do is the other half of the bottleneck’s demand: it can only discard or shorten by fiat. It has no principled way to preserve what matters across tasks in less space, to let outcomes strengthen or weaken what is kept, to shed what no longer serves, or to turn repeated success into reusable procedure.

A system can now remember too much. The next problem is learning what to preserve, what to compress, and eventually what to forget.

Three boundaries hold for what comes next. This chapter shows a smaller assembled context preserves the evidence and the existing reader’s answer-level behaviour; it cannot yet establish that better context improves richer downstream project behaviour β€” constraint adherence, failed-approach avoidance, open-work continuation β€” and Chapter 12 owns that instrument. Wrong-frame behaviour under a tight budget is left to Chapter 13; the headline experiment uses declared, correct WorkFrames throughout. And nothing here rewrites the durable store: every compact representation is derived, ephemeral, and rebuildable, and long-term storage compression belongs to Chapter 15.

What long-context research adds to assembly

LongBench, RULER, and InfiniteBench measure long-context behaviour across tasks and lengths rather than inferring it from an advertised window. Lost in the Middle makes position an experimental variable: the same evidence can have different effects depending on where it appears.

An assembler should therefore record inclusion, position, representation level, token cost, and attached validity/provenance marks. E-14 can then distinguish exclusion, dilution, placement, and representation failures.

The papers show that long inputs can remain difficult; they do not prove that grouping, deduplication, or validity marking repairs them. Each operation needs an isolated matched-budget condition. The useful output is a performance-versus-load curve for every variant, with the breakpoint where an operation begins to help. This prevents context assembly from becoming unconditional ceremony.

Research foundations

Long-context benchmarks consistently show that a larger context window does not make context construction irrelevant. LongBench measures multi-task long-context performance; Lost in the Middle exposes position sensitivity; RULER adds controlled tests of retrieval and aggregation at increasing lengths; InfiniteBench stresses models over extremely long inputs. This evidence supports treating context as a limited behavioural resource, although the chapter’s particular assembly operations still require their own matched-budget experiment.

Two recent results sharpen the design without supplying the mechanism. SARA (Jin et al., ACL 2026) optimises RAG under fixed token budgets by pairing a small set of text passages with compressed semantic vectors, and reports answer gains from the hybrid. The question it leaves this book is whether structured project memory β€” support groups, validity intervals, triple licences β€” already supplies the coverage information SARA buys with vectors; this chapter keeps every representation extractive and inspectable rather than finding out the other way. Adaptive-k (Taguchi et al., EMNLP 2025) shows fixed passage counts waste tokens or omit evidence and selects a query-specific count by a single-pass score threshold. That is adaptive sizing, the complement of this chapter’s fixed-budget fitting; the sweep above measures quality against budget first, and adaptive budgets stay reserved until a run earns them.

References