Skip to main contentModule context
Source - Context
- Active context written by
tracevault context set and read by the CC hook. - ContextPaths
- Resolved paths for context storage, rooted in the primary worktree’s
.tracevault/. - EffectiveContext
- Fully resolved context stamped onto every event. Unlike
Context its
params are string-only — tombstones have already been applied and dropped.
- WorktreeScope
- Whether the current directory is the primary checkout or a linked worktree.
- resolve_context_paths
- Resolve worktree-aware context paths from
start_dir.