Specify an automation as a state transition
Reading estimate uses 200 words per minute and excludes exercises, self-review and optional book descriptions. Earlier lesson checks are kept; revisit the expanded text if you completed the short edition.
Specify a draft-response automation as states, guarded transitions and evidence records, including incomplete input and a separately bounded external-action extension.
An automation is easier to review when it is described as permitted changes between named states. A trigger and a generated output show only part of the process: they do not explain why the change is allowed, what evidence establishes completion or where uncertainty waits. This lesson designs a fictional publisher's response-draft workflow on paper. It begins with an approved enquiry packet and ends with a reviewed draft, while any future sending step remains separate. No accounts are connected, no messages are transmitted and no implementation is claimed by the diagram.
In this lesson · 12 sections
- Name the object whose state changes
- Define the business boundary before the software
- Specify the minimum workflow record
- Write transitions as conditions and effects
- Include an incomplete-input state
- Distinguish a draft from a reviewed draft
- Keep authorisation separate from execution
- Provide a state for uncertain external outcomes
- Handle stale sources and superseded drafts
- Define completion evidence for the chosen scope
- Walk normal and incomplete cases through the map
- Deliver the transition specification
1. Name the object whose state changes
Choose a single workflow object. In the publisher case it is a response-draft request, not the entire customer relationship or every document mentioned in an enquiry. Give the object a request identifier and describe its purpose. A received enquiry can produce a draft suggestion, but the object should not silently expand into an instruction to issue a refund, change a subscription or send private records.
Now distinguish the event from the object. An event reports something such as request received or source packet updated. The workflow object holds the current process state and the evidence relevant to its next transition. Several events can concern the same request, and receiving an event twice should not automatically create two independent business actions. Keeping these concepts separate makes later duplicate handling possible. It also prevents a familiar mistake in automation diagrams: treating every incoming notification as a fresh instruction to repeat the whole process regardless of what is already known.
2. Define the business boundary before the software
Write the allowed result in ordinary language: prepare a response draft from approved information for a named reviewer. The current classroom workflow does not send it. A future design might add sending, but that is another transition with a recipient, permission check and execution evidence. Stating the boundary now makes it possible to study the process without letting a successful drafting demonstration imply broader authority.
Identify the owner of the process and the role allowed to accept a draft. Their authority is part of the design, not a consequence of the model's confidence. An enquiry that asks for a new promise may need a policy decision outside this workflow. Record that route rather than asking the system to generate a plausible answer. The boundary should survive an inconvenient input. If every unusual request is handled by extending the task informally, the state map will no longer describe what the process is actually permitted to do.
3. Specify the minimum workflow record
The paper record contains request identifier, current state, source identifiers and versions, intended output type, assigned reviewer, draft version and unresolved issues. Add transition time, reason and evidence references when a change occurs. These fields make the state more than a label. Another reader should be able to see what information supported it and whether the record refers to the same source packet as the current draft.
Keep identifiers distinct. The enquiry identifier names the business request. A draft version names one text. An operation identifier would name a particular proposed external action if the workflow later included one. Reusing one field for all three creates ambiguity when a source changes or an attempt is repeated. This lesson specifies a record shape, not a database implementation. A real system would need appropriate durable storage and enforcement; a paragraph telling a model to remember the state cannot by itself provide reliable coordination between repeated events or concurrent workers.
4. Write transitions as conditions and effects
For each transition, state the starting state, required facts, authority, resulting state and evidence recorded. For example, received moves to ready for drafting only when the approved source packet and task scope are present. The effect is to mark that packet version as the basis for drafting. It does not confirm facts missing from the packet or authorise a later send.
Separate a condition from a preference. “The output sounds helpful” is not the same kind of condition as “the required source list is present”. A condition should be inspectable enough for the relevant operator or mechanism to apply. Also write what happens when the condition is false. Missing source information leads to needs clarification, not an invented completion. A transition table is valuable because it makes the negative branch visible. Without it, the process can look complete while depending on everything important being correct before the first step begins.
5. Include an incomplete-input state
A received request may lack a relevant policy passage, a source date or the information needed to identify the requested topic. Preserve the request and move it to needs clarification with a specific missing item and next owner. Do not discard the enquiry merely because drafting cannot proceed, and do not keep it indefinitely in a vague processing state that gives no clue what must change.
In the fictional example, enquiry R-17 asks whether a special delivery arrangement is available, but the approved packet contains no delivery policy. The expected route is a question to the designated policy owner within the paper exercise. The system does not invent availability or treat an unseen website as evidence it has already checked. Once an authorised source is supplied, record its version and reassess readiness. This makes clarification a defined transition rather than an informal conversation whose outcome is known only to the person who happened to answer.
6. Distinguish a draft from a reviewed draft
Ready for drafting can move to draft prepared when a specific output exists and is linked to its source packet. Draft prepared can move to awaiting review when the packet includes the exact draft, unresolved items and the checks the reviewer must perform. Neither state means that the text is true merely because it was generated successfully. Generation and acceptance answer different questions.
The reviewer may accept, return for correction or request clarification. Each response changes the workflow record in a defined way. Returned for correction should retain the issue and the reviewed draft version so the next revision can address it. A clarification route should identify the missing fact rather than prompt a rewrite that hides the gap. A useful state map does not force every problem into model regeneration. Some problems require a source update or an authorised decision, and their correct next state is waiting for that input rather than producing another confident paragraph.
7. Keep authorisation separate from execution
An accepted draft is an output state within this classroom boundary. If the blueprint adds a future send action, it must create a separate proposed-action record containing exact content version, destination and approval scope. Approval would establish permission for that action under stated conditions. It would not establish that the message was sent or received. Those conclusions need evidence from the execution process.
This distinction avoids a misleading single green status called done. A person can approve text that has not been attempted, and an attempt can occur without a timely confirmation. Record the differences in the map even if the present exercise never leaves the draft stage. State-transition thinking is useful because it forces you to name what changed in the world or in your knowledge. A new label should correspond to a supported change, not simply to the workflow reaching the next rectangle in a diagram.
8. Provide a state for uncertain external outcomes
In a hypothetical sending extension, a timeout means the caller did not receive a timely response. It does not prove that the destination rejected the action. The correct record may be outcome unknown, with attempts and available evidence preserved. Repeating the send immediately could duplicate a message that was already accepted. The blueprint needs a reconciliation route before it can claim reliable failure handling.
Keep this example on paper. Write the proposed action identifier, attempted time and the missing confirmation. Name the person or procedure that would inspect destination evidence if authorised tools existed. If that evidence cannot be obtained, the state remains unresolved until a deliberate decision is made under the workflow's rules. Do not turn uncertainty into failure simply because the interface prefers a binary result. A named unknown state is operationally useful when it prevents an unsupported transition and carries a clear next owner; it is not useful if it merely hides the request from normal review.
9. Handle stale sources and superseded drafts
Suppose the approved policy changes after a draft is prepared. The workflow should detect that the draft's source version no longer matches the current required basis and route it for reassessment. A reviewed badge on the old text should not automatically cover a materially changed claim. Define which changes require renewed review rather than leaving that decision to an implicit assumption.
Stale does not necessarily mean wrong. It means the record is no longer established as current under the workflow's rule. Preserve the older draft and its review history while marking the newer work separately. A superseded version can remain valuable evidence of what was known at the time, but it should not be confused with the version proposed for the next action. Version links make this distinction inspectable. Without them, a state map can appear rigorous while its labels refer to different source and content versions at different moments.
10. Define completion evidence for the chosen scope
For this draft-only workflow, completion means a named reviewer accepted a particular draft version for the specified private purpose, with unresolved items handled under the task's rules. Record the accepted artefact, reviewer decision and source basis. Completion does not mean an enquiry was resolved for the customer or that a message was delivered. Keep the evidence matched to the claim you intend to make.
If the future boundary changes, completion evidence must change with it. A publisher action might need a destination record identifier and verified content version; a send action might need the relevant delivery or acceptance evidence within its documented limits. Do not reuse a draft approval record as proof of external completion. This is the practical value of specifying the ending state before connecting tools. It exposes whether the proposed evidence can actually support the intended business conclusion, rather than accepting a successful API call or a model-generated success sentence as a universal definition of done.
11. Walk normal and incomplete cases through the map
For normal request R-18, list the event received, approved packet version P1, ready state, draft D1, review decision and accepted-draft evidence. Check each transition's guard and effect. Do not skip directly from received to complete because the final text looks correct. The walkthrough tests whether the intermediate records explain how the process arrived at that result.
Now use R-17 with the missing delivery policy. It should reach needs clarification, remain linked to the missing question and return to readiness only after the authorised source is recorded. Add a rejected-review case and a hypothetical unknown-send case to expose different failure routes. These walks are original classroom tests of a proposed design. NIST's framework provides broader context for responsibilities and evaluation, but it does not certify this map. A successful walkthrough establishes that the paper rules are coherent for the selected examples, not that a live implementation already enforces them.
12. Deliver the transition specification
Your final artefact is a table of states, transitions, required fields, guards, responsible roles and completion evidence. Add explicit routes for missing information, correction, stale sources and uncertain external outcomes if the proposed scope includes external actions. Identify what would need durable enforcement in a real system. Keep this distinction visible: writing a clear specification is necessary design work, but it does not itself create storage, permissions or reliable execution.
Ask another learner to explain one normal path and one waiting path using only the specification. If they must invent a next owner or assume a timeout proves failure, revise the relevant transition. The next lesson develops the approval record at the action boundary in greater detail. Carry forward the same discipline: every state should describe something supported about the task, every transition should have conditions and authority, and every completion claim should point to evidence appropriate to what the workflow actually did.
Fictional request R-17 lacks an approved delivery policy and moves from received to needs clarification with a named source owner. R-18 has packet P1, produces draft D1 and reaches accepted-draft status only after the recorded review. A hypothetical send timeout would instead create outcome unknown; accepted draft or approved action would not prove delivery.
Map a fictional response-draft workflow with received, needs clarification, ready, draft, review and accepted states. For every transition record fields, condition, authority, effect and evidence. Walk one complete packet and one missing-policy packet. If adding a hypothetical send step, include a separate unknown-outcome reconciliation route without connecting services.
Notes stay in this browser. Avoid sensitive personal information.
Compare your answer · Self-review guide
A strong map names the workflow object and source versions, distinguishes generation from review and approval from execution, and gives missing or stale information an owner. Completion evidence matches the draft-only scope. Unknown external outcomes remain unresolved until reconciled; a timeout is not treated as proof of failure.
This is an indicative answer, not an automatic assessment of your written work. Check your reasoning, units and assumptions.
What must be specified beyond a trigger and output?
Continue beyond the lesson

No Plan, No Future
Gabriel Nicolaev — CyGuru
A change with a defined beginning and end
A companion for questioning how direction, planning and changing circumstances interact. Read it beside a plan you are willing to inspect and revise, with attention to the difference between purposeful action and the wish for certainty.
A state map makes the intended process explicit. The companion supports reflection on direction; service behaviour and transition handling require technical verification.
What must be true before the workflow can enter the next state?
Write starting state, required facts, permission and ending state for one fictional action.
Add your response to the lesson notes ↑How to use this companion
A planning and judgement companion for this AI exercise. The book is not an AI implementation manual; technical behaviour, access and integrations must be checked against the relevant documentation.
An editorial pairing by theme, not a book chapter summary. Your lesson and exercise remain available independently of the book.
Sources & further study
Original Academy explanations, fictional examples and exercises. The primary sources below support the lesson concepts; they are not sources for every teaching scenario.
Reviewed 6 November 2026.
An academy practice exercise. Adapt it to your circumstances.
