Request lifecycle
A request has one job: leave a governed, provable outcome. The boxes are names for the steps.
The story: how it hangs together. The walk-through: your first request.
The sequence
- Ask. A person or a system arrives at the Front Door. Channels talk only to this box.
- Verify. Front Door authenticates the caller. The Data Plane entitles them against the route. Missing identity is a refusal. Work does not start.
- Route. Chat is classified. Jobs name the route. Both still have to be entitled. Outcomes:
route,clarify, orabstain. Onlyroutecontinues. - Pin. Front Door freezes the route version and the agent identity, then starts Runtime. From this moment the run is immune to catalogue changes.
- Execute. Runtime hydrates the pinned capabilities once, then runs the autonomy mode the route declared.
- Record. Audit and observability share one
correlation_id. Evidence is not optional.
Who does which job
| Process | Job | Does not |
|---|---|---|
| Front Door | Only public ingress. Entitle, freeze, start Runtime. | Classify. Run the agent. |
| Data Plane | Catalogue and classify. | Pin. Start Runtime. |
| Control Plane | Catalogue UI. | Own a database. Decide. |
| Runtime | Pin the freeze, hydrate, run the graph. | Re-read active. Classify. |
| Capability Plane | Published capabilities and manifests. | Execute. |
Chat versus jobs
Same contract. Different how the path is chosen.
| Jobs | Chat | |
|---|---|---|
| How the path is chosen | Caller names route_id | Data Plane classifies the utterance |
| Classify | Skipped | Required. Only route starts work |
| Entitle | Always | Always |
| Freeze key | Idempotency key | Session |
| What becomes the goal | Job payload | Utterance |
| Follow-up | Duplicate key returns the original correlation | Freeze reuses the pin |
A job never skips entitlement. A chat clarify or abstain never pins. Both return an accepted correlation id. Front Door does not mint that id — Runtime does.
Pin, then hydrate, then run
These three words are the technical expression of "lock the version, then do the work."
- Pin. Front Door receives a startable decide outcome, reads that catalogue version, starts Runtime, and writes a freeze. Runtime copies
route_idandroute_versiononto a durable run pin. It does not re-readactive. Hydrate failure is a client error. Start acknowledgement is async. - Hydrate. Runtime resolves the pinned route, then the pinned manifest and each capability (or a workflow / prompt pack when there is no manifest). The model sees that snapshot. Mid-loop registry reads do not happen.
- Run. Modes 0, 2, and 3 walk a linear (or designer-owned branch) graph. Mode 1 is a model
CALL/DONEloop inside a budget. Ahuman_gatepauses until a person resumes.
What Runtime passes between stages: run data. Who the three principals are: identities. User claims versus agent scopes: claims and scopes. Who mints which id: identifiers.