docs(architecture): client interactivity & communication model plan (#520)#618
Merged
Merged
Conversation
…520) Add the epic decomposition for unifying the client interactivity surface (docs/engineering/client-interactivity-model-plan.md): reduce ~10 concepts to ~5 orthogonal primitives, fix the determinism-integrity risk at its root via single-source semantics (#384), and turn the bounded->WASM cliff into a ladder. Captures the target primitive set, the today->target mapping, the #384 gate, the workstream sequencing (#384 -> #517 -> #518/#519), the migration posture, and the decisions already recorded in ADRs 0016 (#519) and 0017 (#518). The epic (#520) remains the open tracker; it closes when its workstreams land.
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.
Addresses the epic #520 (which stays open as a tracker — an epic closes when its workstreams land).
#520 is an
[Epic]: an "architectural plan to reduce the client interactivity surface from ~10 concepts to ~5 orthogonal primitives." This PR delivers that plan asdocs/engineering/client-interactivity-model-plan.md, tying the workstreams and their decisions together.What the plan captures
state @scope;computed/effect; communication = callback props + scoped cells (bind:as sugar); scoped slots; no event bus.RuntimeExpressionSpecparity pattern is the seed; [Client] Client expression DSL has two independent, diverging implementations (Go vs hand-written JS) #384 generalizes it. Widening the surface before [Client] Client expression DSL has two independent, diverging implementations (Go vs hand-written JS) #384 multiplies Go/JS divergence.computedand helper functions #501/[Client]switch/match expressions and multi-statement helper functions #504 explicitly gated behind [Client] Client expression DSL has two independent, diverging implementations (Go vs hand-written JS) #384 but outside the primitive set.Relationship to the sibling PRs
This epic plan references the decisions made in:
emit/exports/g:bind.Those ADR files live on their respective branches; the cross-references resolve once those PRs merge. References here are plain text (no broken markdown links).
Scope
Documentation only — the epic's architectural plan. No code changes; the workstreams implement under their own issues.