Current state comes first
For Claude Code and Codex, Termyte can return context through installed hooks. When a repository has exactly one active Work Thread, the context begins with its current state. Older summaries, observations, and memories follow as supporting material. This order matters: the current objective and next step should not be overridden by something remembered from an older session. Historical context is:- limited to the repository and available file signals;
- packed into a token budget;
- linked to the records it came from;
- allowed to return nothing when the available material is weak or irrelevant.
Checking old context
Before using stored context that names files, Termyte compares those paths with the current workspace and Git state.
This check can catch changed or missing files. It cannot prove that every sentence in an old memory is still correct.
OpenCode capture does not currently return automatic context to the agent. Use
termyte task resume or the MCP tools when moving work into OpenCode.
Use the Viewer to inspect context packets, selected items, and recorded feedback.