# NousResearch/hermes-agent · Hindsight daemon restarting every session due to config mismatch

## Open now

- Nothing open on GitHub.

A bug causes the hindsight embedded daemon to be SIGTERMed and restarted on every session start because the config-drift check incorrectly treats the API port as always changed. The fixes scope the config comparison to plugin-managed keys only.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.67`: 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

- #82943: hindsight plugin: config_changed is permanently true — HINDSIGHT_API_PORT written by hindsight_embed never matches the plugin's expected env, so the daemon is SIGTERMed on every session start

## Prior & competing PRs

- **#83076: fix(plugins): scope hindsight config-drift check to plugin-managed keys (#82943)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `9d799e0531c`, `4cbf862abe4`, `dc75038866a3966b5bf5c82ff57c7a758bb4070a`, `#119888`, `#82943`
- **#107324: fix(memory/hindsight): stop the per-session embedded daemon restart**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `9d799e0531c`, `4cbf862abe4`, `dc75038866a3966b5bf5c82ff57c7a758bb4070a`, `d89f388921`, `#119888`, `#82943`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
