Use case
src/index.ts (805 lines) exports most modules explicitly, but three are export *: ./cluster, ./http, ./io. That makes the public surface implicit — any addition to those barrels silently becomes root API — and has already produced one collision workaround (root Status shadowing, documented in a comment). Inconsistent with the explicitly-enumerated persistence block.
Proposed approach
Replace the three export * with explicit re-export lists (mechanical; generate the initial list from the current barrel contents so the surface is unchanged at first, then prune obvious internals). Evaluate together with #414 (subpath exports) — if actor-ts/cluster etc. become subpaths, the root barrel can shrink instead of grow.
Acceptance criteria
Related
Use case
src/index.ts(805 lines) exports most modules explicitly, but three areexport *:./cluster,./http,./io. That makes the public surface implicit — any addition to those barrels silently becomes root API — and has already produced one collision workaround (rootStatusshadowing, documented in a comment). Inconsistent with the explicitly-enumerated persistence block.Proposed approach
Replace the three
export *with explicit re-export lists (mechanical; generate the initial list from the current barrel contents so the surface is unchanged at first, then prune obvious internals). Evaluate together with #414 (subpath exports) — ifactor-ts/clusteretc. become subpaths, the root barrel can shrink instead of grow.Acceptance criteria
export *insrc/index.tsRelated