Skip to content

test: support Muse 1.0 session frames - #2

Draft
obviyus wants to merge 1 commit into
bex-co:mainfrom
obviyus:codex/muse-1-0-continuity
Draft

test: support Muse 1.0 session frames#2
obviyus wants to merge 1 commit into
bex-co:mainfrom
obviyus:codex/muse-1-0-continuity

Conversation

@obviyus

@obviyus obviyus commented Sep 1, 2026

Copy link
Copy Markdown

Problem

Muse Code 1.0 adds retained-frame records to session.jsonl. These records do not have an event sequence, so the live continuity test compares undefined as a number and fails even though both turns complete in one session.

Fix

Check ordering only for records that carry a numeric event sequence. Keep the existing streamed-output assertions as the user-visible proof that both prompts use the retained session.

Verification

  • npm exec -- vitest run src/tests/continuity.test.ts
  • npm run test:run — 97 passed, 1 intentionally skipped
  • npm run check
  • Autoreview — clean, 0.99

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