Conversation
8 tasks
…er for load lifecycle transitions
…he dance status code
f4eb768 to
338d57c
Compare
9 tasks
evomimic
requested changes
Feb 25, 2026
Owner
evomimic
left a comment
There was a problem hiding this comment.
Overall this is very close. See comments for requested changes.
evomimic
approved these changes
Feb 26, 2026
Owner
evomimic
left a comment
There was a problem hiding this comment.
Thanks for the quick response!
All looks good!
Confirmed all tests pass and npm start runs correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Draft: Phase 1.3 Minimal Transaction Lifecycle Semantics + Minimal Host Concurrency Guarding
Summary
This PR completes the core of Phase 1.3 by making transaction lifecycle explicit and enforced, and then applies a minimal Phase 2 hardening pass for host-side commit ingress safety. This PR closes issue #383.
It introduces a concrete lifecycle (Open -> Committed), host-side commit-in-progress guarding with RAII, deterministic lifecycle errors, and commit-status-driven lifecycle transitions for both commit and load_holons.
Context / Motivation
Before this work, transaction lifecycle behavior was largely convention-based. This PR makes it explicit and enforceable so downstream command/SDK layers can rely on commit as a real persistence boundary.
What Changed
1) Explicit transaction lifecycle in core
transaction_lifecycle_state.rs.
2) Host commit execution guard (RAII, host ingress only)
host_commit_in_progress atomically.
3) Lifecycle enforcement at host request boundary
commit ingress or after Committed.
4) Commit transition correctness
ResponseStatusCode:5) Guest/loader alignment for partial commit semantics
guest_shared_objects/guest_holon_service.rs.
ingress.
6) Deterministic lifecycle errors + mapping
7) Cleanup
Current Lifecycle Contract (as implemented)
Tests Added
In host/crates/holochain_receptor/src/holochain_receptor.rs: