Prompt cache stability fixes for cwd and worktree context
Cluster 104610. Data as of
Nothing open on GitHub. Fix merged in #104908 on 7 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #104908. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #104908. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address prompt caching issues where the current working directory or project context lines fall outside the stable cache tier, causing cache misses per worktree session. The fixes aim to keep volatile path information from disrupting prefix cache reuse.
Open issues0
Open PRs0
Fixes on record
-
#104908 fix(prompt): shared project context stays ahead of worktree state (#104610)
files:
agent/conversation_loop.py,agent/prompt_builder.py,agent/system_prompt.py,evals/token_accounting/worktree_prompt_prefix.py,tests/agent/test_system_prompt.py,website/docs/developer-guide/prompt-assembly.md
1 PR closed without merging
From the close comments: done elsewhere 1
-
#104645 fix(prompt): keep the working directory out of the cached stable tier · done elsewhere →
9da8df8,#104908,#104642,#104645,#104688
Closed issues · 1
- Closed#104610Prompt cache: the cwd line in the stable tier and context files behind the workspace snapshot miss the prefix cache once per worktree session
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #104908
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 7 Sep 2026