Skip to content

Append pending sub-agent nudges onto existing ephemeral turns - #897

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-6719-append-sub-agent-ephemeral-nudges-instead-of-replacing-the
Sep 11, 2026
Merged

Append pending sub-agent nudges onto existing ephemeral turns#897
TheGreatAxios merged 1 commit into
mainfrom
cl-6719-append-sub-agent-ephemeral-nudges-instead-of-replacing-the

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Sub-agent withEphemeralNudge appends the pending nudge turn onto options.ephemeralTurns instead of replacing the array, matching ChatDirector's behavior — pre-seeded ephemeral turns now survive applyPendingNudge
  • Adds a regression test covering an infer that already carries ephemeral turns when the tool-failure recovery nudge is applied

Verification

  • bun run check: lint, typecheck, build pass; test suite 6706 pass / 4 fail — the 4 failures (createOptimizedContextStore, assembleChatAgent) fail identically on clean main and are unrelated to this change
  • The new regression test fails before the fix (seeded turn dropped, ephemeralTurns length 1) and passes after (length 2, seed first, nudge appended)

Fixes CL-6719

@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

CL-6719

@TheGreatAxios
TheGreatAxios force-pushed the cl-6719-append-sub-agent-ephemeral-nudges-instead-of-replacing-the branch from 6aaf07f to b3688d4 Compare September 11, 2026 03:09
@TheGreatAxios
TheGreatAxios merged commit b491d45 into main Sep 11, 2026
9 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-6719-append-sub-agent-ephemeral-nudges-instead-of-replacing-the branch September 11, 2026 03:19
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.

1 participant