Repository navigation
refactor(universal): extract transition batch controller (issue-66 A3) - #69
Merged
Merged
Conversation
Move active and in-flight transition state, pending listeners, nested and async entanglement, promotion, cross-root settlement, and re-homing into the host-neutral kernel. Inject root scheduling, discard, microtask, and owner-queue services from universal-core; preserve the public transition lifecycle with a render-through-root guard. Agent-Authored-By: TraeCode <[email protected]> Trae-Session: 01a015c8-dc52-71b3-b929-2b5d818926bf
This was referenced Aug 18, 2026
Huxpro
changed the base branch from
refactor/universal-kernel-owner
to
new-lynx
August 19, 2026 18:28
Huxpro
marked this pull request as ready for review
August 19, 2026 18:28
1 task done
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.
Summary
Stacked on #68; Phase A3 transition-batch slice of #66.
scheduleTransition,discardTransitionBatch, root/fallback microtasks, and discrete notification scopeuniversal-core.tsfalse → true → falsearound staged state0 → 1The next A3 slice still owns
formatUniversalId, warm memo tokenization, andreadBridgeContext; owner claiming remains last.Red-green / differential evidence
pending=true,count=0instead of finalfalse,1; dev and prod both failed. Restoring the service returned it to green.Same-window performance evidence
Temporary public-runtime harness, B/A/B/A, each window 7 samples × 200
startTransitionupdates with final count=200 semantic control:The first-window ~0.003 ms difference did not reproduce; this is equivalence evidence, not a performance claim. One pre-existing two-day Vite preview process was present on the host and left untouched.
Validation
pnpm syncEMFILE, while its relevant isolated failures and all universal guards passedpnpm test(full repository)Risk / follow-ups
Provenance
agent-authored)