A workshop lets people register with Google. They may enter before confirming their email, as long as their session is still valid. The workshop still owes them a confirmation message.
| One Registration | What It Means |
|---|---|
| Ari's identity is accepted. | The configured identity check accepted Ari's submitted assertion. |
| Ari enters. | The current session and chosen entry rule permit this visit. |
| Ari closes the browser. | The workshop still owns the unfinished confirmation work. |
Chainable Stories, also called USaT, is a doctrine for keeping such commitments understandable and consequential in Rust software. A commitment is work or behavior the product owes. The doctrine explains what engineering must preserve; a design pattern is one possible way of implementing part of it.
You will follow this workshop, compare two choices, and predict what a change should affect. Each concept has a worked example. Engineering Depth explains the Rust. Worked Discussion explains a practice answer after you have made your own prediction.
The human course stands on its own. The separate doctrine and agent guide are references, not required detours to understand a lesson. Choose a reading path, or continue to why the doctrine exists.
Engineering Depth
The reference can select either entry policy:
pub type OpenWorkshop<P> = Workshop<Google<P>, WithoutPassword, CookieValid>;
pub type ConfirmedWorkshop<P> = Workshop<Google<P>, WithoutPassword, ConfirmedOnly>;
Both selections use Google identity and collect no registration password. The last type changes the entry rule. P names the provider implementation; the workshop object still holds the particular provider used for this registration.
| Selection | Before Confirmation | After Confirmation |
|---|---|---|
OpenWorkshop |
Entry can proceed with a valid session. | The session must still be valid. |
ConfirmedWorkshop |
Entry is refused. | The session must still be valid. |
These aliases do not authenticate a person. Their implementations connect the selected policy to actual checks. The complete reference is a bounded in-memory teaching model.
Your Reflection
Ari enters successfully, then closes the browser. Which promise has been fulfilled, and which work remains?
Saved in this browser. Export a copy before changing devices.
Worked Discussion
That visit was admitted. The pending confirmation is still owed by the workshop. Entry does not prove delivery, and closing a browser does not cancel the service's obligation. Later lessons follow that work through interruption and recovery.