Skip to content

feat: process session events as durable causal runs - #7

Merged
yanpgwang merged 1 commit into
mainfrom
codex/event-run-semantics
Jul 27, 2026
Merged

feat: process session events as durable causal runs#7
yanpgwang merged 1 commit into
mainfrom
codex/event-run-semantics

Conversation

@yanpgwang

Copy link
Copy Markdown
Owner

Summary

  • atomically admit one durable run per processable trigger event
  • persist each completed run's output event IDs and reconstruct model history in causal turn order
  • keep public event history in immutable receipt/commit order
  • prevent terminated sessions from reclaiming queued work
  • detach and bound sandbox teardown from request cancellation
  • document the remaining pending-action gating limitation

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • git diff --check
  • critical store/app tests repeated 20 times under the race detector

@yanpgwang
yanpgwang merged commit 39bee43 into main Jul 27, 2026
2 checks passed
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