Skip to main content

Module context

Module context 

Source

Structs§

ContextUpdate
A pending user update to be incorporated into context.md.

Functions§

build_trace_documents
Build trace documents for LLM context synthesis from manifest entries and recently changed paths (including unmanifested source files).
load_pending_updates
Load pending (unincorporated) context updates from the JSONL file.
mark_updates_incorporated
Mark all pending updates as incorporated.
synthesize_context_content
Synthesize context.md body using the same policy as the post-write pipeline. Returns (content, commit_label) where commit_label is template or llm: <backend>.
synthesize_no_llm
Synthesize context.md without an LLM — produces a structured template.
write_context
Write context.md to the store root and mark updates as incorporated.