Application responsibilities and boundaries
ExecKernel manages progress through a graph: it checks a requested edge against the current session, evaluates the relevant rules and returns the resulting state and payload. Your application connects that execution to the people, data and operations of the process you are building.
For example, the engine can accept a choice using an availability value supplied by your application. Your application determines where that value comes from, who may make the choice and what must happen in the system that manages the resource.
A completed selection and a real booking
Section titled “A completed selection and a real booking”The workshop graph introduced in Graph-based execution model helps someone choose how to attend. For in-person attendance, edge 201 selects Valencia and leads from node 200 to terminal 300. In the availability example, that edge requires placesAvailable: true.
Reaching terminal 300 records a completed selection in the session. To turn that selection into a booking, your application also needs a reservation recorded by the system that manages workshop places. These are different pieces of information: one describes the graph execution, and the other assigns a place to a person.
The context value does not reserve anything by itself. A condition checks the value it receives. Your application must obtain reliable availability data and coordinate the booking operation with the system responsible for those places.
What happens around a choice
Section titled “What happens around a choice”When someone selects Valencia, your application first needs to know who is acting and whether that person may use the session and perform the operation. A session identifier identifies an execution; knowing it does not, by itself, establish the user’s permission.
The application also obtains the data needed for the decision. For an authoritative availability value, it uses the system that manages places. It should not treat an unverified value sent by the browser as proof that a place exists.
ExecKernel then handles the graph decision. It checks that the requested edge belongs to the current node, applies the configured execution policies and evaluates the conditions with the relevant data. An accepted choice produces the new state and a payload for the destination.
Your application coordinates the reservation operation with session progress and handles its outcome.
Assigning the responsibilities
Section titled “Assigning the responsibilities”| Need | ExecKernel or its integration | Your application |
|---|---|---|
| Decide whether an edge can be followed | Evaluates the requested edge against the graph, session, rules and execution policies. | Chooses which edge to request and supplies relevant data. |
| Establish identity and business permission | Uses the data and policies made available to execution. | Identifies the user and decides whether they may access the session and perform the business operation. |
| Obtain reliable decision data | Evaluates conditions using supplied context or configured rule dependencies. | Chooses trustworthy sources and provides the values those conditions need. |
| Retain session progress | Returns a new state; the local SDK or API can coordinate its storage. | Configures the store, or coordinates storage when using the engine directly. |
| Present the current step or result | Prepares the payload from the graph and session. | Builds the interface and handles the user’s interaction. |
| Reserve a place or perform another business action | Provides graph results and extension mechanisms that an application can use. | Performs the action in the responsible system and establishes whether it succeeded. |
The engine has execution safeguards, but their scope is the graph and its configured policies. User authentication, ownership of a session and permission to reserve a place need the application’s own decisions and data.
Relating session state to business records
Section titled “Relating session state to business records”The session store retains the execution’s position, context and history. Saving that state does not also save a reservation in a separate booking system. Your application must define how those records relate and what it considers a completed operation.
An event, extension or webhook may connect a graph operation to application code or an external service. That connection still needs a defined meaning for success and failure. Producing a graph result or sending a notification is not, on its own, evidence that the external operation succeeded.
Execution lifecycle and confirmed state explains when session progress is confirmed. Apply the same clarity to the business result you show: for a booking flow, present a reservation confirmation after the system that manages places has confirmed the reservation.