fix(honcho): clone sessionAiPeerPrefix into new profile host blocks

clone_honcho_for_profile copied sessionPeerPrefix but not sessionAiPeerPrefix. A new profile cloned from a default block with the AI prefix on fell back to unprefixed session names and collided with the default profile's gateway sessions.
This commit is contained in:
Erosika
2026-09-08 16:12:22 -04:00
committed by kshitij
parent e467c0ef2c
commit 0ede483479
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ _INHERITED_KEYS = (
"recallSync",
)
# clone_honcho_for_profile also carries the operator's runtime-to-peer routing intent.
_CLONE_KEYS = _INHERITED_KEYS[:3] + ("sessionPeerPrefix",) + _INHERITED_KEYS[3:] + (
_CLONE_KEYS = _INHERITED_KEYS[:3] + ("sessionPeerPrefix", "sessionAiPeerPrefix") + _INHERITED_KEYS[3:] + (
"pinUserPeer", "userPeerAliases", "runtimePeerPrefix",
)
_IDENTITY_MAPPING_KEYS = ("pinPeerName", "pinUserPeer", "userPeerAliases", "runtimePeerPrefix")