Skip to content

spec: session-2.md — wholesale-replace vs field-merge on the default session; thin intermediate emissions#123

Draft
JarbasAl wants to merge 1 commit into
devfrom
spec/session-2
Draft

spec: session-2.md — wholesale-replace vs field-merge on the default session; thin intermediate emissions#123
JarbasAl wants to merge 1 commit into
devfrom
spec/session-2

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jul 4, 2026

Copy link
Copy Markdown
Member

Refines OVOS-SESSION-2 to Version 2.

  • §5.1: the two write paths onto the default session are now unambiguous — a committed Match.updated_session (PIPELINE-1 §4.2) is a complete snapshot the orchestrator MUST adopt wholesale (deletion by omission); inbound client Messages merge field-by-field and cannot delete by omission, only overwrite.
  • §3.2 thin intermediate emissions: full session REQUIRED on dispatch Messages and terminal lifecycle events clients adopt from; intermediate/status emissions MAY carry only {"session_id": ...} — fat sessions on every no-payload status event multiply bridge/layer-2 traffic for Messages nobody merges from. The §3.3 convergence point always carries the full object.
  • §2.5: flip side of client authority — a boundary component injecting policy fields MUST re-apply them on every inbound Message (BRIDGE-1 §4.1 gate invariant); connect-time-only policy is not conformant.
  • Citation fixes: SESSION-1 registry claims →§2.2; restart-loss →§5.2; companion-spec count six; intro CONTEXT-1/CONVERSE-1 attribution untangled.
  • CHANGELOG entry + Version bump to 2.

🤖 Generated with Claude Code

…rmediate emissions, gate invariant

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cb583b3a-5e6f-4847-89ea-a70e75f92454

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spec/session-2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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