Fix session working directory for context resolution

NousResearch/hermes-agent · cluster 11515 · acp

Data as of

Nothing open on GitHub. Fix merged in #71644. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #71644. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address a bug where the session's current working directory was not consistently used for project context file discovery across gateway, conversation, and ACP components. Changes align context resolution to use the correct session cwd rather than a stale or incorrect path.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #71644 fix(acp): pin the session cwd for the turn and for slash commands

    merged to main

    files: acp_adapter/server.py, contributors/emails/[redacted:email], tests/acp/test_server.py

  • #71676 fix(conversation): rebuild the system prompt when the working directory drifts

    merged to main

    files: agent/conversation_loop.py, agent/system_prompt.py, tests/run_agent/test_compression_persistence.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #11570 fix(acp): use session cwd for project context discovery · done elsewhere → #71644, #71676, #47915, #11515
  • #47915 fix(conversation): prevent stale prefix cache on cwd or runtime surfa… · merged via another change → a2b0d6d, 30cd6e9, 7a61b66, e741dc7, cfd2a38, #71676, #11515, #11570
Closed issues · 1
  • Closed#11515[Bug]: ACP session cwd is used for tool execution but not for project context file discovery
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.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means 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 Lab

At a glance

Subsystem
acp
Merged PRs
#71644, #71676
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
26 Jul 2026

For your agent

The same facts, typed.