Skip to content

docs(machine): hedge wrapper-placement prose for framed wrappers#105

Merged
mellonis merged 1 commit into
v7from
docs/wrapper-placement-hedge
May 30, 2026
Merged

docs(machine): hedge wrapper-placement prose for framed wrappers#105
mellonis merged 1 commit into
v7from
docs/wrapper-placement-hedge

Conversation

@mellonis

Copy link
Copy Markdown
Owner

Summary

  • The README's node-shapes bullet (line 86) claimed withOverriddenHaltState wrappers always sit OUTSIDE their callable subtree's subgraph w_N block. That was true of v7 output up to alpha.6, but the engine fix in turing-machine-js #223 / PR #224 moves framed wrappers (continuation chain participates in a caller's frame) INSIDE the owner frame's subgraph with the same [[…]] shape.
  • Splits the prose into top-level vs framed cases. No diagram regenerations needed in this README — all 10 mermaid blocks use top-level wrappers (s7 = main-tagged), and top-level wrappers still render outside.

Test plan

  • Render-check post README mermaid blocks — unchanged (top-level wrappers stay outside)
  • Reviewer skims line 86 wording to confirm it reads naturally

The "Nodes" reading-guide bullet claimed wrappers always sit OUTSIDE
their callable subtree's subgraph. Engine v7 fix (turing-machine-js#223)
moves framed wrappers — those whose continuation chain participates in
a caller's frame — INSIDE the owner frame's subgraph with the same
[[…]] shape. Split the prose into top-level vs framed cases.
@mellonis mellonis merged commit 3f2f153 into v7 May 30, 2026
1 check passed
@mellonis mellonis deleted the docs/wrapper-placement-hedge branch May 30, 2026 18:38
@github-project-automation github-project-automation Bot moved this from Todo to Done in @mellonis's machines May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant