# NousResearch/hermes-agent · Curator read-before-write guard fails across worker threads

## Open now

- Nothing open on GitHub.

A bug where ContextVar-based skill_view marks are lost when crossing tool-call worker threads, causing the curator's read-before-write guard to always refuse patches or edits to existing skills. The members cover the bug report and several fix attempts addressing this thread-context propagation issue.

## TL;DR

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

- #94324: \[Bug\] Background curator read-before-write guard can never pass: skill_view marks (ContextVar) are lost across tool-call worker threads, so every patch/edit of an existing skill is refused

## Prior & competing PRs

- **#94511: fix(skills): background-review curator patches no longer refused after skill_view (#75618, salvage #73975)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_skill_manager_tool.py`, `tools/skill_manager_tool.py`
- **#94326: fix(curator): let read-before-write guard pass across review tool worker threads (#94324)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `335c60ecdd76a7b8b9d6fa0332ac15e58059963b`, `#94511`, `#73975`, `#94324`
- **#94330: fix(skills): keep curator read marks across tool-call worker threads**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `335c60ecdd76a7b8b9d6fa0332ac15e58059963b`, `#94511`, `#73975`

## Fix status

- Merged to main in PR #94511 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-25`.
