Learning

Apply It

Design a Story You Know

Design, compare two changes and explain one interruption.

Downloads

Choose familiar work: reserve equipment, publish an announcement, resolve a support request or admit someone to an event. Use invented data.

First write one promise. For example: publish the exact announcement version approved by its owner.

Prepare Announcement Example
Actor and beneficiary An editor requests publication; readers receive the approved announcement.
Exact work Announcement 42, version 7, with its content identity.
Decision owner The role entitled to approve this announcement under the product's policy.
Same-promise change Replace file storage while preserving versions, decisions and outcomes.
Changed promise Permit a different role to approve.
Interruption Publication may have happened, but the response was lost.

Use the architecture questions to find missing descriptions and the thinking tools when a specific uncertainty needs investigation. Do not add a ceremony for every box in a framework.

Engineering Depth

Compare two signature sketches:

trait PublishByFlag {
    fn publish(self, approved: bool, version: u64);
}
trait PublishReviewed {
    type Reviewed;
    type Outcome;
    fn publish(self, work: Self::Reviewed) -> Self::Outcome;
}

The second gives the design a place to retain reviewed work. It is not sufficient by name: explain who can construct Reviewed, what actual version/resources it binds, which facts must be current, and what the outcome really means.

An alternative design can be valid. Show the meaningful relationships rather than imitating a trait count. A database transaction, borrowing boundary or another appropriate mechanism may establish parts of the guarantee; state its limits.

Your Reflection

Make one implementation change and one promise change. Predict their consequences first. What evidence would distinguish an alternative realization from a weakened commitment?

Worked Discussion

Follow both changes to the owner, admitted work, actual binding, current checks, observed effect and remaining obligation. A storage replacement may preserve those relationships; a new approver changes one. Keep the original promise visible while explaining the difference. Discuss the result with your reviewer; Kresna reviews exercises in the guided sessions.

Navigation