Skip to content
中文

Context & journals ​

Core · Interfaces & runtime guarantees · Back to layer index

SymbolKindPurpose
assembleContextPlanfunctionBuild the model input for a context plan.
assembleFragmentsfunctionBuild the model input from fragments. Metadata remains program-side: data never becomes a system instruction.
BuiltContextinterfaceAssembled context plus the accounting needed to explain the budget decision.
ContextFragmentinterfaceOne piece of model-visible input before assembly.
ContextFragmentUsageinterfaceAccounting entry reported for one fragment that actually entered the context.
ContextJournalclassRequest-local context projection of execution receipts; not a separate persistent log store.
ContextLifetimetypeDeclared validity window of a fragment's content.
ContextPlaninterfaceUnassembled input; App-side nodes may process it before the Core budget boundary.
ContextRecordtypeOne journal entry: a model call, a tool request or a tool result. The three variants are distinguished by type; value/input stay unknown because their domain meaning belongs to the App.
ContextTrusttypeWho produced the content, and therefore how much it may influence the model.
validateContextBudgetfunctionEnforce the character budget of the whole model input.
validateContextFragmentfunctionValidate one fragment and return the text it contributes to the model input.

API reference, usage examples and developer guides.