Skip to content

Open Session License v0.5: session ids for multiagent/channel grouping (wire v0.4) - #2

Open
oceanseth wants to merge 1 commit into
mainfrom
session-ids-v04
Open

Open Session License v0.5: session ids for multiagent/channel grouping (wire v0.4)#2
oceanseth wants to merge 1 commit into
mainfrom
session-ids-v04

Conversation

@oceanseth

Copy link
Copy Markdown
Owner

OpenSession (the visualizer) hit the limit of file-order session grouping: several agents appending under merge=union interleave into one linear transcript. This bumps the wire format to v0.4:

  • Session records SHOULD carry sid (fresh ULID) and MAY carry name (agent/channel label)
  • Message records MAY carry s = their session's sid; authoritative for grouping
  • Re-declaring a sid is idempotent (speakers merge) so parallel branches can each carry the declaration
  • Fully backward compatible: v0.3 archives parse unchanged

Reference implementation (parser + channel UI) is live in OpenSession.

🤖 Generated with Claude Code

…wire format v0.4

Multiagent setups append concurrently under merge=union; without an explicit
turn→session binding, interleaved branches collapse into one linear block.
v0.4 wire format: session records SHOULD carry a fresh ULID sid and MAY carry
a name (agent/channel label); message records MAY carry s referencing their
session's sid, authoritative for grouping. sid re-declaration is idempotent
(speakers merge) so each branch can carry its own copy. v0.3 archives remain
valid — s-less turns keep file-order grouping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cursor

cursor Bot commented Aug 6, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

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