# NousResearch/hermes-agent · Cron prompt lost during context compaction fixes

## Open now

- Nothing open on GitHub.

Multiple fixes addressing an issue where the active job prompt is dropped when context compaction occurs during a cron run, causing the run to silently continue without its original task. Several approaches and salvage attempts are represented.

## TL;DR

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

- #100818: Context compaction during a cron run drops the job prompt, and the run still reports success

## Prior & competing PRs

- **#101732: fix(compressor): restate the in-flight cron prompt after the compaction handoff (salvage #101170)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/context_compressor.py`, `agent/conversation_compression.py`, `tests/agent/test_cron_inflight_prompt_reappend_100818.py`
- **#100843: fix(agent): preserve active prompt through compaction**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `960abf73a0d`, `80ab7d2b1cd`
- **#100856: fix(agent): recover the swallowed task prompt when compaction hits a single-user cron run (#100818)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `960abf73a0d`, `80ab7d2b1cd`
- **#101170: fix(cron): re-append in-flight job prompt after compaction**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#101732`
- **#103320: fix(agent): recover the swallowed task prompt when compaction hits a single-user cron run (#100818)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#100856`, `#101732`

## Fix status

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