This case study follows one realistic product flow end to end: a user selects a file, the editor reads it, the preview surface shows the current project, help content is available, keyboard shortcuts change the selected agent, and notifications update mode.
You are building a command center with a file tree, file editor, web preview, help panel, keyboard shortcuts, AI context, and notifications. The product needs to feel connected, but the packages must not import each other.This case study shows the exact traditional code pattern that causes tangles, then translates it into public Runtime Kit handles without importing package files, private stores, or implementation functions.Source facts this case uses
This page is grounded in public-safe Runtime Kit shapes:Traditional implementation
This is the kind of code the traditional app shape makes feel natural:Bitfield translation
The same product flow becomes public names:React adapter example
Request example
Public names
Data-flow map
The selected file becomes a public product fact.
Editor, AI context, and preview read named inputs.
Keyboard and settings send named action requests.
Hover, open menu, and draft text stay inside the surface.
File-by-file public files and names
Boundary mistakes
Review checklist
The finished flow should answer yes to all of these:Next
- Learn the single state rule: Share state between packages
- Learn named data reads: Read data another package prepared
- Learn action requests: Ask another package to do work