Context & journals
Core · Interfaces & runtime guarantees · Back to layer index
| Symbol | Kind | Purpose |
|---|---|---|
assembleContextPlan | function | Build the model input for a context plan. |
assembleFragments | function | Build the model input from fragments. Metadata remains program-side: data never becomes a system instruction. |
BuiltContext | interface | Assembled context plus the accounting needed to explain the budget decision. |
ContextFragment | interface | One piece of model-visible input before assembly. |
ContextFragmentUsage | interface | Accounting entry reported for one fragment that actually entered the context. |
ContextJournal | class | Request-local context projection of execution receipts; not a separate persistent log store. |
ContextLifetime | type | Declared validity window of a fragment's content. |
ContextPlan | interface | Unassembled input; App-side nodes may process it before the Core budget boundary. |
ContextRecord | type | One 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. |
ContextTrust | type | Who produced the content, and therefore how much it may influence the model. |
validateContextBudget | function | Enforce the character budget of the whole model input. |
validateContextFragment | function | Validate one fragment and return the text it contributes to the model input. |