Skip to content

Cherry-pick 404b1527e: fix(acp): persist spawned child session history#1320

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/404b1527e-acp-persist-child-session
Mar 14, 2026
Merged

Cherry-pick 404b1527e: fix(acp): persist spawned child session history#1320
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/404b1527e-acp-persist-child-session

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Changes (adapted for fork)

Extracted resolveSessionTranscriptFile() from inline session transcript resolution logic in agent.ts into transcript.ts. This consolidates the session file path resolution + persistence into a reusable function.

Discarded (gutted layers):

  • ACP spawn/test files (deleted in fork)
  • persistAcpTurnTranscript function (ACP-specific)
  • .secrets.baseline line number changes (fork has different numbers)
  • CHANGELOG.md (deleted in fork)
  • Pi-embedded imports

@alexey-pelykh alexey-pelykh force-pushed the cherry-pick/404b1527e-acp-persist-child-session branch from 6926730 to 5bcec1c Compare March 14, 2026 15:27
Cherry-picked from openclaw/openclaw@404b1527e6.
Adapted for RemoteClaw fork: kept session transcript refactoring
(resolveSessionTranscriptFile extraction), discarded ACP-specific
changes (gutted layer), discarded .secrets.baseline line number
changes (fork has different line numbers).

(cherry picked from commit 404b152)
@alexey-pelykh alexey-pelykh force-pushed the cherry-pick/404b1527e-acp-persist-child-session branch from 5bcec1c to 43b9ed5 Compare March 14, 2026 15:35
@alexey-pelykh alexey-pelykh merged commit 690f189 into main Mar 14, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/404b1527e-acp-persist-child-session branch March 14, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants