feat(memory): configurable background memory and skill notifications - #4684
Closed
WolframRavenwolf wants to merge 2 commits into
Closed
feat(memory): configurable background memory and skill notifications#4684WolframRavenwolf wants to merge 2 commits into
WolframRavenwolf wants to merge 2 commits into
Conversation
Closed
5 tasks
This was referenced May 23, 2026
WolframRavenwolf
force-pushed
the
feat/memory-notifications
branch
from
June 8, 2026 00:08
ce90495 to
a90f030
Compare
WolframRavenwolf
force-pushed
the
feat/memory-notifications
branch
4 times, most recently
from
June 15, 2026 22:40
0fe41ac to
6d3a1cb
Compare
Background memory reviews now support three notification modes,
configured via display.memory_notifications in config.yaml:
off — no chat notification (still logged to stdout/HA log)
on — generic '💾 Memory updated' (default, unchanged behavior)
verbose — content preview with action indicators:
💾 Memory ➕ Hermes Repo liegt unter /config/amy/hermes-agent/...
💾 Memory ✏️ Updated repo path from claude-code to hermes-agent...
💾 Memory ➖ old entry about claude-code path...
Previews are truncated to 120 chars for adds/replaces, 60 for removes.
Each action gets its own line in verbose mode for readability.
Files: run_agent.py, gateway/run.py
When display.memory_notifications is set to 'verbose', skill_manage notifications now show meaningful change details instead of just the generic tool message. Before (verbose mode): 💾 📝 Patched SKILL.md in skill 'gogcli' (1 replacement). After (verbose mode): 💾 📝 Skill 'gogcli' patched: "old pitfall text..." → "new pitfall text..." Changes: - skill_manager_tool.py: _patch_skill() now includes old/new string previews (truncated to 200 chars) in the result via '_change' key. _create_skill() and _edit_skill() include skill description from frontmatter for verbose create/edit notifications. - run_agent.py: Background review notification builder now reads the '_change' dict from skill tool results and formats descriptive notifications per action type (patch → old→new diff, create/edit → description preview). Falls back to generic message when _change data is unavailable (backwards compatible). This is especially useful when subagents patch skills, since neither the user nor the parent agent can see what the subagent changed.
WolframRavenwolf
force-pushed
the
feat/memory-notifications
branch
from
June 16, 2026 00:38
6d3a1cb to
50ac089
Compare
Contributor
|
Merged via #47226 — your commits were cherry-picked onto current main with your authorship preserved in git log (rebase-merge). The salvage adds |
liuhao1024
pushed a commit
to liuhao1024/hermes-agent
that referenced
this pull request
Jun 16, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
alanbratu
pushed a commit
to alanbratu/hermes-agent
that referenced
this pull request
Jun 17, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
zmlgit
pushed a commit
to zmlgit/hermes-agent
that referenced
this pull request
Jun 17, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
al3xar
pushed a commit
to al3xar/hermes-agent
that referenced
this pull request
Jun 17, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
xyshanren
pushed a commit
to xyshanren/hermes-agent-cn
that referenced
this pull request
Jun 17, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths (cherry picked from commit 98ae286)
waefrebeorn
pushed a commit
to waefrebeorn/slermes
that referenced
this pull request
Jul 2, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
Methodician
added a commit
to Methodician/hermes-agent
that referenced
this pull request
Jul 4, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
habarmc1223-sudo
pushed a commit
to habarmc1223-sudo/hermes-agent-fluxmem
that referenced
this pull request
Jul 8, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
santhreal
pushed a commit
to santhreal/hermes-agent
that referenced
this pull request
Jul 13, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
Gravezzz
pushed a commit
to Gravezzz/hermes-agent
that referenced
this pull request
Jul 21, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
leewenjie
pushed a commit
to leewenjie/hermes-agent
that referenced
this pull request
Aug 7, 2026
Follow-up to salvaged PR NousResearch#4684: - Add display.memory_notifications to DEFAULT_CONFIG (off|on|verbose, default on) - Document the setting in docs/user-guide/features/memory.md - Add resolver tests for off/on/verbose memory + skill paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rebuilds this PR on current
upstream/mainand expands the notification feature to cover both memory and skill-management changes produced by the background review pass.Adds
display.memory_notificationswith three modes:off- no chat notification for background review memory/skill changeson- generic notifications, preserving the old low-detail behavior by defaultverbose- compact previews showing what was added/replaced/removed or which skill content changedIn verbose mode, the background review callback can now show memory content previews and skill change previews such as:
Motivation
The previous notification was opaque: users could see that the agent changed memory, but not what was changed. That is unnerving for durable state mutations. This keeps the default generic behavior while letting users opt into a concise, transparent preview.
Changes
agent.memory_notificationsstate and gateway config wiring fromdisplay.memory_notifications.patch/create/editchange metadata inskill_manageresults for verbose notifications.Verification
python3 -m py_compile agent/agent_init.py agent/background_review.py gateway/run.py tools/skill_manager_tool.pysummarize_background_review_actions(..., notification_mode='off'/'on'/'verbose'), including memory add, skill patch, and ignored non-notification tool resultNotes
This update force-pushes the existing PR branch from the current upstream base rather than opening a duplicate PR.