# NousResearch/hermes-agent · Fix approval bypass for API run transport scoping

## Open now

- 1 issue, 1 PR open on GitHub.
- #98728: \[Bug\]: /v1/runs approval transport is bypassed because api_server is classified as unattended
- PR #98735: fix(approval): make unattended exclusion transport-scoped so /v1/runs approval works

These items address a bug where the /v1/runs approval transport was being bypassed due to incorrect classification or scoping of the api_server as unattended. Fixes scope API runs and unattended exclusions to the correct transport context.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #135049. Verify it addresses your case.
- **Recommended:** read PR #135049 (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: `unresolved`. 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.

## Open related issues

- #98728: \[Bug\]: /v1/runs approval transport is bypassed because api_server is classified as unattended

## Prior & competing PRs

- **#113820: fix(tui_gateway): old app builds no longer stall the agent on clarify/approval (closes remaining atoms of #112548)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/lib/json-rpc-gateway-heartbeat.test.ts`, `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `apps/shared/src/json-rpc-channel.test.ts`, `apps/shared/src/json-rpc-channel.ts`, `tests/tools/test_approval_gateway_wait_late_choice.py`, `tests/tui_gateway/test_protocol.py`, `tools/approval.py`, `tools/approval_gateway_wait.py`, `tui_gateway/AGENTS.md`, `tui_gateway/contracts/liveness.py`, `tui_gateway/methods_voice.py`, `tui_gateway/server.py`, `tui_gateway/server_requests.py`, `tui_gateway/session_transports.py`, `ui-tui/src/__tests__/gatewayClient.test.ts`, `website/docs/developer-guide/programmatic-integration.md`
- **#135049: Webhook and listener-less API runs deny flagged commands instantly instead of waiting on an approval nobody can answer (#100532, salvage #125367)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_approval_unattended_presence.py`, `tests/tools/test_cron_not_interactive.py`, `tools/approval.py`, `tools/approval_context.py`, `website/docs/user-guide/security.md`
- **#98735: fix(approval): make unattended exclusion transport-scoped so /v1/runs approval works**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `20119e7985`, `#98558`
  - files: `tests/tools/test_approval_unattended_transport.py`, `tools/approval_context.py`
- **#109496: fix(approval): scope API runs to resolver capability**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `8918717b1a`, `e760a20d89`, `71ff5238ec`, `2afb405337`, `#98728`, `#135049`, `#113820`, `#98735`, `#125658`, `#125367`

## Fix status

- Merged to main in PR #135049 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-08`.
- Subsystem: `gateway`
