# NousResearch/hermes-agent · Goal quality gates running in wrong directory

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #126668: fix(goals): run quality gates in the session workspace, not the backend cwd

A bug where goal quality gates execute in the backend's working directory instead of the session workspace, potentially marking failing projects as done. Multiple fix attempts target this directory path issue.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #125453. Verify it addresses your case.
- **Recommended:** read PR #125453 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-125453`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member 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.

## Closed / duplicate issues

- #125369: \[Bug\]: Goal quality gates run in the backend's directory instead of the session workspace, so a failing project can be marked done

## Prior & competing PRs

- **#125453: fix(goals): run quality gates in the session workspace, never elsewhere**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/goals.py`, `tests/hermes_cli/test_goal_gates.py`
- **#125377: fix(goals): run quality gates in the session workspace**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `42369fba97`, `#125369`
- **#126668: fix(goals): run quality gates in the session workspace, not the backend cwd**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#68559`, `#98581`
  - files: `hermes_cli/goals.py`, `tests/hermes_cli/test_goal_gates.py`
- **#127627: fix(goals): run quality gates in the session's workspace, not the backend cwd (#125369)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#125369`, `#125377`, `#125453`, `#126668`

## Fix status

- Merged to main in PR #125453 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-29`.
- Subsystem: `hermes_cli`
