m00001Investigated src/router.ts:42; timeoutMs = 2500.
Coding / AI Engineering / Context Engineering / billion-context
CHAPTER 07 / 11 · CONTEXT ENGINEERING
Across time. Up through tiers.
Summaries accumulate too. Fold selected older blocks into a higher tier while retaining links to their children and original messages.
INTERACTIVE STUDY / 07
Local teaching modelLINEAGE EXPLORER
Build two tier-2 parents, then a tier-3 parent. Inspect any node to see what one-level and full recovery actually return.
m00001–m00002Routing investigationm00003–m00004Test evidencem00005–m00006Navigation designm00007–m00008Responsive checksSelect active blocks to distill
Choose at least two active blocks of the same tier. Tier 3 is the highest tier in this model. Digests are preset teaching text; real summaries are model-written, with configurable promotion gates.
INSPECTING b1 / T1
Routing: literal before dynamic; src/router.ts:42 timeoutMs = 2500.
Return direct raw sources and immediate child digests.
m00001Investigated src/router.ts:42; timeoutMs = 2500.
m00002Literal routes must precede dynamic routes to protect /notes/new.
Select two or more active blocks in one tier. Promotion changes visibility, not the source graph.
THE NOTEBOOK
Concise learning notes · source-grounded mechanismsHorizontal / across time: each consumed message range can become its own tier-1 block. Creating a new block does not require rewriting every older block.
Vertical / across tiers: selected digests become a more distilled parent. Tier 2 folds tier-1 blocks; tier 3 folds tier-2 blocks. The selected children become inactive in the working view but remain in the lineage graph.
raw messages→T1→T2→T3| Field | Meaning |
|---|---|
directMessageIds | Raw messages consumed directly |
directBlockIds | Child blocks consumed directly |
effectiveMessageIds | All original messages covered transitively |
active | Whether the block is rendered into the working view |
A parent points to its children, which point to their sources. One-level recovery returns child digests; full recovery follows the graph to the retained original messages. Higher tiers contain less detail, so provenance and source access matter more.
Lineage makes exact recovery possible when the originals are retained and accessible. It does not make the digest itself lossless or guarantee that the model will choose to retrieve.
CHECK YOUR INTUITION
Choose an answer to reveal the reasoning.
FOLLOW THE SOURCE
Reviewed source: billion-context 0.1.180 / 03d27f9. The notes are Lawson’s learning interpretation of the reviewed repository.