Skip to content

Tracking: 2026-08 architecture review follow-up #64

Description

@camcima

Index of everything left open by the 2026-08 architecture review. The non-breaking fixes landed in #52; these are the items deliberately deferred there, plus the improvement opportunities the review raised but did not act on.

Breaking — batched for v5

Grouped so the ecosystem takes one major bump rather than five.

#53 and #54 are the two with real design content; the rest are mechanical once a major is being cut.

Non-breaking

Suggested order

  1. Close the post-await re-entrancy detection gap with AsyncLocalStorage #59 — it is the only open item whose failure mode is a silent permanent deadlock, which is the same class of problem fix: address architecture review findings #52 fixed for whenIdle().
  2. Add an are-the-types-wrong check to CI #62, then Verify Mermaid state-description quoting against a real renderer #58 — small, self-contained, and both protect user-facing output.
  3. Expose queue depth and runner state for observability #60, Provide a scheduler helper for Timeout-driven transitions #61 — ergonomics that make existing features usable in production.
  4. The v5 batch, led by the Freeze Event and register event commands at build time #53/Replace the onEnter event-name convention with first-class state entry hooks #54 design decisions.
  5. OperationQueue.dequeue() is O(n) per operation #63 only if a profile ever justifies it.

Context

  • Review document: ARCHITECTURE_REVIEW.md
  • Fixes already landed: fix: address architecture review findings #52 (two reproduced bugs, four API-consistency gaps, docs)
  • Previous review cycle for comparison: CODE_REVIEW.md (June 2026, all ten findings since fixed)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions