When many packages need to cooperate, do not create one giant store that everyone imports. Let packages meet through Bitfield state, data names, and action requests.
A command center has a file tree, file editor, AI chat, project preview, notifications, keyboard shortcuts, and a sidebar. Each package has its own job. The user still needs one coherent product.The goal is cooperation without fusion: packages share public Bitfield handles instead of turning into one tangled codebase.Traditional app shape
Bitfield shape
Cooperation map
State
Editor, AI context, and breadcrumbs read the same product fact.
Input
Preview UI reads a prepared view of project status and URL.
Request
A settings surface asks the notification package to change mode.
Private
Temporary UI details stay inside the package rendering them.
Larger chain
Start with a normal product flow:Shared names, separate packages
What this prevents
React is one adapter that can show this chain. The chain itself is Runtime Kit: shared product facts, data names, action requests, private UI state, and package files.
Complete translation example
Add a new package without retangling
Imagine you add a “recent activity” package.Traditional addition
Central-store shortcut
Read public facts instead
Multi-package review checklist
Why this scales past the first screen
The first screen can survive traditional coupling. The tenth screen usually cannot. The problem is not that stores, services, or contexts are evil. The problem is that they make every feature depend on another feature’s private state shape.Bitfield keeps the product language outside any one package:That is what lets package eleven join the product without becoming a patch inside package two.
Review check
When more than two packages are involved, do not solve it by creatingappStore, platformStore, globalState, or sharedService. First classify each relationship:Next
- Start with the overview: Build without tangled code
- Build a full example: Placeable surface product loop
- Review AI coding rules: Rules for AI agents