Skip to content

fix(curator): preserve last_report_path in state - #18169

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-386dc8b2
May 1, 2026
Merged

teknium1 merged 1 commit into
mainfrom
hermes/hermes-386dc8b2

Conversation

@teknium1

@teknium1 teknium1 commented May 1, 2026

Copy link
Copy Markdown
Collaborator

Salvages #18058 by @Yukipukii1 onto current main.

Summary

hermes curator status now shows the last report path instead of always showing none. Root cause: curator wrote last_report_path into state but load_state() only preserved keys present in _default_state(), silently dropping it on the next read.

Changes

  • agent/curator.py: add last_report_path to _default_state()
  • tests/agent/test_curator.py: regression test for save → load round-trip

Validation

  • scripts/run_tests.sh tests/agent/test_curator.py → 39 passed
  • E2E: save with last_report_path set → load → field preserved (previously dropped)

Authored by @Yukipukii1 (commit authorship preserved). Closes #18058.

@teknium1
teknium1 merged commit 75483b6 into main May 1, 2026
10 of 11 checks passed
@teknium1
teknium1 deleted the hermes/hermes-386dc8b2 branch May 1, 2026 02:46
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint labels May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants