Skip to content

Jev 2: validate and replay bounded conversation events - #253

Merged
MaggieAppleton merged 2 commits into
mainfrom
maggie/jev-replay
Oct 3, 2026
Merged

MaggieAppleton merged 2 commits into
mainfrom
maggie/jev-replay

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

This second slice of #241 adds validated conversation events and deterministic state replay on top of the Jev foundation. Events check source attribution, thread versions, and capacity before changing state. Repeated event IDs are idempotent; corrections and contribution moves retain replayable history.

Replay copies only the changed thread and, for a move, its destination. Later transitions leave earlier states unchanged while avoiding repeated copies of the full event history. A review fix clears pending settlement and scoped-choice proposals when a resolution candidate closes a thread, matching direct decision replay. This layer contains no database writes or active chat workflow.

Review scope: 30 files; 2,257 source lines and 1,726 test lines. Merge after the foundation PR. Decision records and interpretation are the next layers.

Validation: 71 focused foundation and replay tests pass on the local fix, full workspace/E2E types and repository CI pass locally. All three required GitHub checks pass on the rebased head. Tests cover replay, corrections, invalid stored state, source provenance, and capacity.

Jev event replay: validate an event, copy affected threads, and derive a new bounded conversation state

Review fix: close pending choices

Resolution confirmation clears pending settlement and scoped-choice proposals

@MaggieAppleton
MaggieAppleton added this pull request to stack #254 October 3, 2026 06:11
@MaggieAppleton MaggieAppleton changed the title Add pure Jev event replay and validation Jev 2: validate and replay bounded conversation events Oct 3, 2026
@MaggieAppleton
MaggieAppleton marked this pull request as ready for review October 3, 2026 08:09
Base automatically changed from maggie/jev-foundation to main October 3, 2026 11:09
@MaggieAppleton
MaggieAppleton merged commit 0f9e291 into main Oct 3, 2026
3 checks passed
@MaggieAppleton
MaggieAppleton deleted the maggie/jev-replay branch October 3, 2026 11:19
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