When a package needs another package to run work, call a named Bitfield target. Do not import the implementation function directly.
A keyboard package changes the selected agent. A notifications package changes the notification mode. A search box asks a search target for results. In traditional code, these become direct service calls. In Bitfield, they are action requests.A correct caller uses the action name and payload shape. It does not import the implementation file for the work.Traditional app shape
Bitfield shape
Code translation
Good action requests
Four request situations
Refresh a preview
Direct service call
Use the action name
Change selected agent
Direct store mutation
Ask for the change
Update notification mode
Direct package function
Send the public request
Search help content
Private search import
Search through the target
Request versus state
Reply and error boundary
The caller may use the reply shape. It must not import the implementation path.Review checklist
What this prevents
React is one adapter that can send an action request. The same target should make sense from a keyboard shortcut, a terminal command, a Swift screen, a background job, or a future shell.
Common failures
Review check
If caller code imports a function from another package to “do work,” stop. The public API is an action request. The caller may use the action name, payload, reply shape, and error states. It must not import the implementation file.Next
- Look up request details: Runtime Kit API
- Build a callable package target: Callable package slot
- Learn when to read instead of request: Read data another package prepared