NousResearch/hermes-agent
Gateway working directory and AGENTS.md/SOUL.md context file loading
Cluster 5200 · agent · Bug. Data as of
2 open items. Fix attempted, not merged.
The short answer
1open issue
1open PR
9items grouped
- Known?
- Yes. 9 related items grouped here, 1 issue already closed.
- Fix event
- No fix has been merged to main. 6 PRs closed without merging; see the attempts below.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event.
Next step: read the attempts below. Your case may extend or revive that work.
Pick up a Lab taskMembers mostly center on how the gateway determines its working directory (terminal.cwd vs. MESSAGING_CWD) and where AGENTS.md and SOUL.md are loaded from (cwd vs. HERMES_HOME). They include documentation updates, a docs-vs-code mismatch report, a gateway inconsistency report, and proposed code changes, though the specific approaches differ.
Open issues1
- Issue#11763AGENTS.md not loaded in gateway mode (WeChat/Telegram/Discord) — inconsistent agent behavior across platforms
Open PRs1
- PR#11885fix(prompt): load AGENTS.md from HERMES_HOME
6 PRs closed without merging
From the close comments: done elsewhere 2 · closed without comment 1 · partial fix 1 · superseded by another PR 1 · other 1
- #18878 fix(agent): load SOUL.md from cwd with fallback to HERMES_HOME · closed without comment
-
#23166 docs(env): mark MESSAGING_CWD as deprecated compatibility fallback · superseded by another PR →
#22050,#34781 -
#23167 docs(worktrees): use terminal.cwd for gateway working directories · done elsewhere →
119390a -
#23168 docs(config): clarify messaging cwd in cli-config example · done elsewhere →
119390a -
#23169 docs(security): recommend terminal.cwd for gateway hardening · other →
119390a
Show 1 more
-
#65800 fix(agent): load gateway AGENTS.md from HERMES_HOME fallback · partial fix →
d682f32,c62bcde,#11885,#65800,#66155,#29935,#30236,#76011,#11763,#29871,#66118,#75108,#1,#15803,#14532,#6,#9,#374151,#4338
Closed issues · 1
- Closed#5200[docs] Context Files (AGENTS.md/SOUL.md): documented behavior doesn't match code
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.20: 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.