Repository navigation
docs: unified start API design (0.9) - #259
Merged
Merged
Conversation
…re in MCStartDeep)
…blication, S8 scope)
unbalancedparentheses
added a commit
that referenced
this pull request
Nov 11, 2026
…tartError, Init::continue_with, StartOptions)
… polite scope stop, owner gate, commit history, notice obligations)
…stance becomes MCStartDeep
unbalancedparentheses
added a commit
that referenced
this pull request
Nov 11, 2026
…ified start #259 rev. 3
… 3: Codex 1, agy F1) A non-ready resolution and D are one critical section, so the startup decision and its reason are final; a kill after it does nothing, a kill before it is row 2. Ready children escalate atomically on a pre-D kill. Model: atomic ResolveD, kill escalation at arrival, invariants IgnoredExitsNormal and KillBeforeDIsKilled with controls SplitResolutionD and SkipEscalation (FrozenReason became vacuous and is retired).
…ry is its own step (round 3: Codex 2) Model: ReleaseName and ReleaseSlot, repeatable Lookup, an outbox drained by Deliver (PNotice); design 5.2 and the 16.2 mapping with the delivery refinement rule and new trace controls.
…ion alone (round 3: Codex 3) Model: WorkDoneP/WorkDoneC; GenDone and GenDoneMeansOwnedDone require P's and every member's owned work; control GenDoneIgnoresWork.
…ose its scope gate (round 3: agy F2) As OTP, a child in started() whose start_link parent begins exiting still finishes init (and may commit ready, trapping children run their continuation) and then gets the parent exit. Only an ancestor's or the system's shutdown closes the owner gate. Model: closedBy/oref history, invariant OwnerRefusalOnlyOnShutdown, control ParentExitClosesOwner.
… (round 3: Codex, agy)
…pped hand-off control is non-vacuous again)
unbalancedparentheses
marked this pull request as ready for review
November 11, 2026 23:09
# Conflicts: # ROADMAP.md # verification/model-map.toml # verification/tla/negative_checks.py
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 12, 2026
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.
This is the unified start API design for 0.9 (ROADMAP rank 5h), after three review rounds. The round-three fixes are in; each is its own commit, and section 20 of the design has the round-three resolutions table. Design only.
docs/design/unified-start.mddocs/design/unified-start-client-mapping.mdverification/tla/Start.tla, TLC-only inmodel-map.tomluntil the implementation adds trace validation.Round 3
Killedat once. Checked byIgnoredExitsNormal(controlSplitResolutionD) andKillBeforeDIsKilled(controlSkipEscalation).GenDoneIgnoresWork.started()finishes init and then gets the parent's exit. Checked byOwnerRefusalOnlyOnShutdown(controlParentExitClosesOwner).stopped()change: move initialization cleanup intostarted()or RAII.TLC (fede, 4 workers, nice 19, run one at a time; each ended with TLC's "No error has been found")
MCStartMCStartNamesMCStartCapMCStartTimeoutMCStartContinueMCStartScope(+ liveness)MCStartLive(liveness)MCStartDeep(weekly)All 40 negative controls (37 safety, 3 liveness) produce their counterexample on the named property.
model-syncpasses, and so do the script tests.