Files
hermes-agent/plugins/memory
kshitijk4poor da8e7d71ab test(profiles): pin the review-surfaced branches of the profile lifecycle fixes
Optional nits from BearHuddleston's approving reviews of #158223, #158271,
#158272, #158273 and #158211 (tracker #155595, issuecomment-7059727896),
each one of his tested patches unless noted:

Tests, each catching a mutant that passed the whole suite before:
- F06: a Windows WinError 5 with nothing at the destination stays raw
  (the os.path.exists() half of publish_staging's fallback).
- F16 Edge A: the popped-adapter clause of the unserve finally guard.
- F07: import and rename onto an unfinished delete name it (ported to the
  `incomplete` record main now writes); record_delete_finished's silent
  FileNotFoundError; an unreadable record reads as incomplete.
- F10: the throwaway plugin host is stopped and its registrations
  disposed; the channel-lost test closes the channel the read-error way,
  so the child no longer exits on its own inside the asserted window.

Docs and dead code:
- F16 Edge A: _hold_secondary_claims docstring.
- F10: unused contextlib/Callable/Iterator imports; the developer guide
  says the hooks run in a plugin host of their own.
- F09-1: share_auth comment and mirror_launch_credentials docstring follow
  the _logins_home rule.

Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com>
2026-11-22 15:50:29 +05:30
..