Skip to main content

Most software gets tangled because one part of the app directly imports or depends on another part’s private state. Runtime Kit gives you a different shape: put shared product facts in Bitfield, read prepared views, and ask named targets to do work.

You are building a product with files, panels, settings, search, AI context, background jobs, and multiple package areas. The first version works. Then feature twenty needs to know what feature seven selected. Feature thirty needs to run the same work from a different place. The traditional fix is another store, another service import, another prop path, or another global. That is how every feature starts depending on every other feature. This section shows the replacement.This section teaches the translation move: see the normal app-code instinct, then turn it into the Bitfield shape without guessing, importing private code, or making React the architecture.

The translation

01

Import another feature’s store, service, file path, or implementation.

02

Is this shared state, named data, work to request, private UI state, or package-owned bytes?

03

Bitfield state, data name, action request, local UI state, or package file.

The real split

Why this section exists

Most app examples teach the traditional shape: stores, services, imports, reducers, contexts, and direct calls.

The old app shape

One feature imports another feature’s state or implementation because that is the shortest path in ordinary app code.Bitfield uses a different shape. The pattern is not “make a better global store.” The pattern is:
React, Swift, Kotlin, Rust, Python, terminal shells, web shells, and future adapters all wrap the same idea. React is one example, not the architecture.

What this prevents

The coupled version

The product request says: “When I select a file, show it in the editor, let the AI panel use it, and let the command palette open actions for it.”

The tangled version

That code feels fast because every store is directly importable. It is also the start of the coupling problem. The editor directly depends on the file-tree store. The AI context directly depends on editor timing. The command palette directly depends on the selection source. Every future package has to depend on the old package graph before it can do a simple job.

The Bitfield split

React adapter example

Request example

The difference is not syntax. The difference is dependency direction. In the traditional code, every package imports or depends on other packages. In the Bitfield code, packages use named public facts, data names, and targets.

Bigger translation matrix

Review checklist

Reject the answer when any of these are true:

Read these pages by job

Next

Last modified on May 10, 2026