RLM parent lineage options are not forwarded during session replacement #1470
Bruce-anle
started this conversation in
Bug reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
In the
v0.7.2source,rlmParentNodeIdandrlmParentAgentare explicit session creation options, but the replacementcreateRuntime(...)calls do not forward those fields throughsessionOptions.This is a source-level observation only. I have not performed a runtime reproduction, so this does not establish a user-visible lineage failure or that every replacement path should preserve incoming lineage values.
Source observation
AgentSessionCreationOptionsand forwarded by the session factory here.sessionOptionscontaining these fields:switchSession,newSession, fork paths, andimportFromJsonl.Open question / expected semantics
Could maintainers clarify which layer should own lineage for each path?
newSessionmay intentionally establish new lineage.switchSessionand JSONL import may treat the target session or its header as authoritative.Given those differences, should any path forward the explicit options, reconstruct lineage from persisted metadata, or leave the values unset? What test boundary would best encode the intended behavior? No fix is proposed pending that guidance.
Additional context
Adjacent merged work: #584, #589, and #596.
Related but separate: #1467 covers host handlers after replacement.
All reactions