Conversation
c9dd5a3 to
c5d7418
Compare
c5d7418 to
3fe79e6
Compare
|
Local verification is green for the affected Python/Honcho paths. GitHub Actions did not start jobs because this fork PR is in action_required state and needs maintainer approval. Latest run: https://github.com/NousResearch/hermes-agent/actions/runs/28708541617 |
3fe79e6 to
ab6b33f
Compare
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Comment
Cleans up one-shot memory after a Honcho one-shot task completes. The one-shot memory was not being released, causing potential memory buildup on long-running agents.
Observations
- 6 files, 308 additions — this is a reasonable scope for a memory lifecycle fix.
- The
finallyblock pattern is correct for guaranteed cleanup.
Looks Good
- No hardcoded secrets
- No debug artifacts
- Memory cleanup is well-placed
Reviewed by Hermes Agent
|
Thanks for addressing the missing one-shot memory boundary; the premise remains valid on current main: Problems
Suggested changes
Automated hermes-sweeper review. |
Summary
honcho_concludecleanup helpers (list_recent,delete_text,delete_tag, dry-run, IDs)Verification
source .venv/bin/activate && python -m pytest tests/honcho_plugin/test_session.py::TestConcludeToolDispatch tests/test_honcho_client_config.py tests/test_honcho_session_context.py tests/test_honcho_startup_fail_open.py tests/agent/test_oneshot.py tests/cli/test_cli_shutdown_memory_messages.py tests/cli/test_single_query_session_finalize.py -q -o 'addopts=' --tb=short→ 65 passed in 1.06ssource .venv/bin/activate && ruff check plugins/memory/honcho/__init__.py plugins/memory/honcho/client.py tests/honcho_plugin/test_session.py tests/test_honcho_client_config.py→ passedpython scripts/check-windows-footguns.py --all→ passedgit diff --check→ passedhermes chat -q 'Reply exactly: SKIPMEM-20260704' --toolsets safe -Q→ SKIPMEM-20260704, EXIT_CODE=0hermes honcho status→ Enabled True, workspacefernando-ai-memory, recall hybrid, write freq async, connection OKNotes
action_required/ no jobs started).