orchestrata_ultimate.context.providers
Reference › orchestrata_ultimate › context › providers
Context-provider renderers.
The providers subpackage holds the renderers that each produce one markdown block for a layer of the assembled context. All are called by the assembler. Each returns an empty string when it has nothing to say, so a missing source never fails assembly.
- Session state: mission_context renders project state, goal, pending work and the latest handoff, and plan_context renders the current task window.
- Pipeline output: artifact_digest summarises prior-stage artifacts.
- Code intelligence: ast_context derives signals from the AST toolkit, and semantic_context uses chunk search over the semantic graph.
- Fitting: trimming cuts any layer to its token budget at natural boundaries.
The package __init__ re-exports the renderers. Start with mission_context for the simplest example.
7 modules, 753 lines of code.
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
Context-provider renderers. | 31 |
artifact_digest |
Render a compact digest of prior-stage artifacts for volk prompts. | 98 |
ast_context |
AST-derived context provider for volk prompts. | 216 |
mission_context |
Render a compact mission/session context block from ContextData. |
88 |
plan_context |
Render a compact plan-window context block from ContextData. |
95 |
semantic_context |
Semantic-search context provider for volk prompts. | 102 |
trimming |
Boundary-aware context trimming. | 123 |