Lifecycle: implement region crossing, reconnect, logout, and teardown #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Implement controlled simulator handoff, region crossing, reconnect policy, disconnect propagation, logout, and idempotent cleanup.
Deliverables
Validation
Prerequisite
Wire codegen and the foundational implementation milestones are complete; the fixed API/test gates remain authoritative.
Project constraints
Implemented and pushed in commit
1fd127b.Production Rust implementation:
Verification completed in isolation:
Acceptance review confirmed region handoff, post-teardown reconnect, reply/timeout/cancellation event ordering, partial failure cleanup, current-simulator replacement, repeated shutdown, no remaining sockets/tasks, detached error observability, and secret-state clearing. Agent movement/teleport/multi-simulator state owned by milestone 09 was intentionally not absorbed into this issue.