Skip to content

test(core): cover Claude Agent instruction recovery - #1

Merged
iMumd merged 1 commit into
iMumd:fix/claude-agent-system-messagesfrom
emadleo13:claude-sync-tests
Nov 10, 2026
Merged

iMumd merged 1 commit into
iMumd:fix/claude-agent-system-messagesfrom
emadleo13:claude-sync-tests

Conversation

@emadleo13

Copy link
Copy Markdown

Issue for this PR

Follow-up regression coverage for anomalyco#62916, based on the fix in anomalyco#62983. Thanks @iMumd for inviting the additional tests.

Type of change

  • Tests (no production changes)

What does this PR do?

Adds six regression tests covering:

  • Primary and utility Model.doStream() request boundaries
  • Edited instructions and legacy history recovery
  • Reasoning-only messages and checkpoint ID preservation/resume

How did you verify your code works?

  • Claude Agent suite: 93 passed, 0 failed
  • Core typecheck: passed
  • Repository typecheck: 34 tasks successful
  • Provider tests use a stubbed Claude session; no live Claude account was used.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@iMumd
iMumd merged commit e88c7aa into iMumd:fix/claude-agent-system-messages Nov 10, 2026
3 checks passed
@iMumd

iMumd commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Merged — thanks @emadleo13. The six cases round out the matrix nicely (the doStream boundaries and the legacy-history recovery especially), and they flow straight into anomalyco#62983. Verified locally: full claude-agent suite 93 pass, core typecheck clean. Appreciate you following up on this.

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