Skip to content

CM-4: one-sentence question formulation + hold-rule protection decomposition - #31

Merged
lann merged 1 commit into
mainfrom
cm4-question-formulation
Aug 9, 2026
Merged

CM-4: one-sentence question formulation + hold-rule protection decomposition#31
lann merged 1 commit into
mainfrom
cm4-question-formulation

Conversation

@lann

@lann lann commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #29, distilled from operator discussion. Adds to spec-amendment.md: (1) the issue-title-level formulation — should a callback-lifted task in its post-return phase, suspended mid-frame, still gate same-instance entry (does exclusive_thread outlive resolution) — plus the note that the window covers any mid-frame park (sync builtins, sync-lowered async-typed imports incl. host functions, yields), all via Thread.block_internal; (2) the two-class decomposition of what the hold rule actually protects at such a point — application state (thin: real only for all-async-export components, since non-async exports barge past the lock) vs shadow-stack LIFO (real, unconditional, but a property of the task's own continuation code — hence priced as the Invariant #3 toolchain contract, not an instance-wide mutex); (3) rules out the trap-on-post-return-suspension third option against both corpora and the producer idiom.

Docs-only.

@lann
lann enabled auto-merge (squash) August 9, 2026 22:47
@lann
lann merged commit 66a6b8c into main Aug 9, 2026
4 checks passed
@lannbot
lannbot deleted the cm4-question-formulation branch August 23, 2026 16:51
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