Skip to content

fix: isolate subagent implicit resume chains#493

Merged
icebear0828 merged 1 commit into
devfrom
fix/subagent-variant-cache-isolation
May 12, 2026
Merged

fix: isolate subagent implicit resume chains#493
icebear0828 merged 1 commit into
devfrom
fix/subagent-variant-cache-isolation

Conversation

@icebear0828
Copy link
Copy Markdown
Owner

Summary

  • Add local variant identity to implicit-resume variant hashes using Codex window id and task anchor signals.
  • Keep upstream prompt_cache_key unchanged while isolating local previous_response_id chains and WS pool slots.
  • Add regression coverage for single-thread multi-turn, interleaved conversations, derived-key conversations, same-shape subagents, and identical subagents separated by Codex window id.
  • Stabilize a usage-stats numeric range test that sat exactly on the 30-day cutoff.

Verification

  • npx tsc --noEmit
  • git diff --check
  • npm test (166 files passed, 1932 tests passed, 1 skipped)

@icebear0828 icebear0828 merged commit 031fd1d into dev May 12, 2026
1 check passed
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