Skip to main content

LoadContextPack

Budgeted context assembly with supersession filtering.

LoadContextPackFrom

Unified variadic entry point: one coord → zero-overhead LoadContextPack; multiple coords → LoadMultiContextPack with deduplication.

LoadContextBudgetConfig

Budgeters

ByteLenBudgeter

Budget by byte length of content.

TokenBudgeter

Custom budgeter interface for token counting.

ContextPack

Ordering rule: concentric rings from center outward, then axial spiral order within each ring. If budget is exceeded, the system drops the lowest-confidence items from outer rings first.

AssembleCellView

One coord → CellView with options.

FilterCellViews

Post-process assembled views with predicate.

TruncateCellViewsToTokenBudget

Truncate views to fit budget.

ContextPackStats

Assembly statistics:

CellExplanation

Per-cell inclusion/eviction reason (Explain mode):

See also

  • Cells — Core data units
  • Seams — Contradiction markers