Skip to content

fix(hermes): fix memory persistence and viewer bugs#1582

Merged
hijzy merged 2 commits into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428
Apr 29, 2026
Merged

fix(hermes): fix memory persistence and viewer bugs#1582
hijzy merged 2 commits into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428

Conversation

@syzsunshine219
Copy link
Copy Markdown
Collaborator

Description

This PR fixes multiple Hermes local plugin bugs around memory persistence, feedback stability, analytics, pagination, and viewer navigation.

Main changes:

  • Reconnect and retry the Hermes provider bridge when stdio transport closes during sync_turn, preventing silent memory loss.
  • Preserve historical ts values passed through turn.start / turn.end instead of overwriting them with current DB time.
  • Return real persisted trace IDs from turn.end and validate feedback trace IDs to avoid SQLite foreign key 500 errors.
  • Improve viewer pagination, current-page select/deselect, total/page-size display, page jump, and cross-page deep links for tasks and memories.
  • Improve analytics tool latency charts, hover values, unavailable tool reporting, log duration display, and model setup banner UX.

Dependencies required: none.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Unit Test
  • Test Script Or Test Steps (please provide)

Tested with:

npm run build:web
npx vitest run tests/unit/pipeline/orchestrator.test.ts tests/unit/pipeline/memory-core.test.ts tests/unit/server/http.test.ts
python3 -m unittest tests.python.test_bridge_client tests.python.test_hermes_provider_pipeline

@hijzy hijzy merged commit a44482c into MemTensor:mem-agent-0424 Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants