{"repo":"NousResearch/hermes-agent","public_id":"104610","display_label":"Prompt cache stability fixes for cwd and worktree context","summary":"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.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":104908,"merged_at":"2026-09-07T11:45:49+00:00"},"resolution":{"state":"resolved","by":"pr-104908"},"freshness":{"state":"verified","last_verified_at":"2026-09-07T11:45:49+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":104610,"pr_number":104908,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-07T11:45:49+00:00"}],"members":[{"kind":"issue","number":104610,"title":"Prompt cache: the cwd line in the stable tier and context files behind the workspace snapshot miss the prefix cache once per worktree session","url":null,"state":"closed"},{"kind":"pr","number":104645,"title":"fix(prompt): keep the working directory out of the cached stable tier","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"9da8df8d26581396d0f22f6832a3d5efa5d16c1b","number":0},{"kind":"pr","value":"#104908","number":104908},{"kind":"pr","value":"#104642","number":104642},{"kind":"pr","value":"#104645","number":104645},{"kind":"pr","value":"#104688","number":104688}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":104908,"title":"fix(prompt): shared project context stays ahead of worktree state (#104610)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["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"]}],"trust":{"default_tier":"verified","includes_suggested":false}}