An event records that something happened; a state describes how something stands at a particular boundary; a command requests an action; a query asks for information; and a transition is the change between states according to the rules of a process. These terms are related, but they are not interchangeable. A request to approve a document is not proof of approval, an approval event is not the whole document history, and a status screen can lag behind the underlying record. The crucial question is what each word claims about intention, evidence and outcome.
For readers, editors, researchers and AI developers, the practical method is to name the object, actor, time, source, before-and-after states and evidence before treating one statement as another. A person can issue a command that is refused. A system can record an event without immediately updating every display. A query can return yesterday’s state. Accurate vocabulary is what lets a user distinguish “requested”, “accepted”, “approved”, “published” and “withdrawn”, especially when several teams, languages or machines are involved.
- Event: What occurred, according to which observer or authoritative record?
- State: Which properties held for this object at this time and within this system?
- Command: What was requested, by whom, and was the request authorised?
- Query: What information was retrieved, with which source version and freshness?
- Transition: What rule allowed the move from a prior state to a later one?
- Cross-system use: A recorded event and a displayed projection can temporarily disagree.
- Human accountability: Preserve uncertainty, corrections and historical meaning rather than silently rewriting past actions.
Chapter Index
- 1. Begin With Five Different Questions
- 2. Follow One Ordinary Request From Beginning to End
- 3. Understand the Architecture Without Mistaking It for a Universal Law
- 4. Preserve Meaning Across Documents, Languages and Institutions
- 5. Test Whether an AI Assistant Knows the Difference
- 6. Zoom From One Person to Civilisational Records
- 7. A Practical Seven-Question Audit and Seven-Day Exercise
- 8. Frequently Asked Questions
1. Begin With Five Different Questions
What is an event?
An event is an account of an occurrence. “ApplicationSubmitted” suggests that submission happened, not that the application was approved. The label should refer to a specific object and the defined moment at which the occurrence counts as complete. In ordinary conversation, “the meeting happened” can be enough. In a consequential record, identifying the meeting, its participants, source and time may matter. A recorded event is evidence that an authorised system asserted something occurred; the reliability of that assertion still depends on how it was generated and checked.
What is a state?
A state describes selected properties of an object at a defined point or interval. For a fictional library request, a displayed status could be draft, submitted, under review, approved, rejected or withdrawn. These labels need definitions and allowed conditions. The status alone does not necessarily reveal who changed it or why. A page may display “approved” while a separate publication process is unfinished. Do not assume every relevant fact fits one status field; a request might be approved yet awaiting payment or another independent requirement.
What is a command?
A command expresses an intention to change something: “Approve record 27”, “Cancel reservation 19”, or “Send the notice”. It can be invalid, unauthorised, duplicated or unsuccessful. The Microsoft CQRS pattern distinguishes commands that perform business tasks from queries that retrieve information; see Microsoft’s CQRS guidance. A button labelled “Cancel” usually starts a process; its click is not necessarily a completed cancellation. Good interfaces distinguish command initiation from a confirmed outcome.
What is a query?
A query requests information: “What is the current status of record 27?” In the CQRS sense, it is designed not to change domain state, although observing a system can still produce incidental technical logs. A response is about the version and source actually consulted. A stale read can report “pending” even after another component recorded approval. The answer therefore needs a freshness and scope description when timing matters. The existence of a query response does not prove the whole workflow is settled.
What is a transition?
A transition is a defined change between states, often triggered by an event or successful action and constrained by rules. “Submitted” might move to “under review” only after required evidence arrives. A transition is not merely any changed word: changing the public label from “in progress” to “processing” may be editorial renaming rather than a business-state change. To understand a transition, specify the prior state, trigger, guard condition, result and who can authorise it. Without those details, the diagram can suggest a guarantee the service never implemented.
One sentence can conceal several stages
Consider the fictional sentence “The request was accepted.” Accepted by the web form, the reviewer, the decision-making committee, or the final receiving organisation? Each is plausible in isolation. A more useful record says “The intake system accepted the uploaded form; human review remains pending.” This sentence connects an event to an explicitly limited state. Precision can be brief when it separates the stage that succeeded from the stage that has not yet happened.
2. Follow One Ordinary Request From Beginning to End
A fictional archive submission
Imagine a community archive receiving a historic photograph. A contributor chooses the file, presses Submit, and receives receipt A104. The browser issued a command. The server might record a FileReceived event and place the item in a submitted state. A reviewer later checks the description and records MetadataReviewed. A separate decision records PublicationApproved. Only after another step is the item available on a public page. None of the earlier events proves that the last step has happened.
Separate an upload from a publication
A large file can reach temporary storage while another component still needs to scan or transform it. Therefore “uploaded” is a transport milestone, not necessarily publication. An interface might use “file received”, “processing” and “public page available” as separate statuses. These are illustrative names, not universal standards. The governing system must define them. A reliable author reports the strongest observed milestone and the remaining task instead of announcing completion merely because one service returned a successful response.
Record an unsuccessful command honestly
Suppose a reviewer clicks Approve while the record lacks permission from the rights holder. The system refuses the command. A CommandRejected record may still be worth keeping, but it should not be confused with a PublicationApproved event. The attempted action belongs in the audit history without becoming the object’s approved state. A useful review differentiates “someone tried”, “the platform received the attempt”, “a rule evaluated it”, and “the requested business effect took place”. These are distinct claims with distinct evidence.
A later correction need not remove history
If the archive discovers that the photograph’s date was wrong, it can record a correction and publish the corrected description. That does not make the old description never have existed. The archive may need to indicate which information was available at which time. Microsoft’s event sourcing pattern describes append-only events and compensating changes as one architectural approach. It is a design option, not a rule that every small website should adopt.
A withdrawal is not a deletion of the world
Suppose the rights holder later withdraws permission for public display. The archive can restrict access and record that action. Readers who previously saved the image may still possess copies. “Withdrawn from publication” is therefore more accurate than “all copies erased”. The first describes an achievable platform state; the second makes a broad claim about external consequences. Vocabulary here protects both the rights holder and the archive from an assurance the organisation cannot verify.
3. Understand the Architecture Without Mistaking It for a Universal Law
What event sourcing actually stores
In an event-sourced design, the sequence of events is used to reconstruct state. An order’s history might record OrderPlaced, ItemAdded, AddressChanged and OrderCancelled. A projection applies the relevant events to answer a current-state query. This can preserve information about why a final state exists. However, event sourcing introduces schema evolution, ordering, storage and privacy considerations. It is not required for every system, and a log of unvalidated labels does not automatically become a trustworthy historical record.
A snapshot is a view, not the whole story
A snapshot stores a selected state at a point in an event sequence. It can speed reconstruction because the system need not replay every preceding event. But a snapshot that simply says “cancelled” may not explain whether payment was refunded or access was withdrawn. The underlying event history carries different information from the latest projection. Microsoft notes this distinction in its event sourcing pattern. Choose the representation that supports the question being asked.
Events must be ordered at the relevant boundary
Imagine an address update submitted after an order was accepted. A late consumer receives AddressChanged before OrderPlaced. The recorded delivery order may not match the logical business order. A design must identify which event sequence is authoritative for each object and how conflicts are resolved. A timestamp alone can be insufficient when clocks differ, messages arrive late or two edits overlap. Version numbers or sequence identifiers may help, but their meaning also needs a declared scope.
A projection may temporarily lag behind its source
A read model that updates from events may show an older value for a short time. Microsoft’s CQRS explanation identifies eventual consistency as a consideration when read and write stores are separate. The event stream may have accepted a cancellation while a public status screen still says active. That mismatch is not necessarily proof that no cancellation occurred. Check the relevant source and how far the projection has progressed before deciding what the displayed value establishes.
Events can be delivered more than once
An event consumer may receive a duplicate message. If it interprets each delivery as a new business occurrence, it can double-count reservations or send repeated notifications. The correct response depends on stable event identity and processing guarantees. A single event can have multiple transport deliveries. The event’s occurrence, its storage and its delivery are three different facts. The earlier article on retry and idempotency explores why repeated delivery must not silently become repeated intent.
4. Preserve Meaning Across Documents, Languages and Institutions
Define statuses before translating them
“Reviewed” may describe completed inspection, while “approved” may be a formal authorisation. A translation that renders both as “checked” loses a consequential distinction. A glossary should associate the original label with the relevant decision, authority and evidence. Ask bilingual reviewers to apply both versions to a case that was reviewed but rejected. If the translated version leads them to infer approval, the system has changed meaning even when the translated sentence sounds fluent.
The same word can belong to several authorities
Consider “active”. One team may mean that a subscription is currently paid. Another may mean that an account can sign in. A regulator may use active for a registration valid under particular rules. A cross-system dashboard that merges these fields can create a false common category. Record definitions with their domain and version. Rather than demand one worldwide dictionary for every use, preserve a traceable mapping between the concepts that each system actually governs.
A change in wording is not always a state change
An institution might rename “awaiting review” to “under assessment” without changing any workflow rule. Historical analytics should not count that editorial rename as thousands of new assessment events. Conversely, a policy change might keep the same status label while altering who qualifies for it. The visible word would remain unchanged although the underlying criteria changed. A robust account tracks both vocabulary versions and business transitions, so readers can interpret changes in counts and outcomes correctly.
Provenance describes how claims came to exist
The W3C PROV-O ontology distinguishes entities, activities and agents, along with relationships such as generation and use. This is useful for thinking about records: a publication may be generated by an editing activity that used a source file, with an identifiable responsible agent. Provenance does not certify that the source was true or the editor was authorised. It records relationships that can support a further inquiry. An origin story is evidence about lineage, not a universal stamp of correctness.
Historical interpretations need the historical rule
Imagine a record marked eligible in 2024 under a rule that was revised in 2026. A current system may recalculate eligibility differently. To explain the earlier decision, preserve the version of the rule actually used and any later correction separately. Otherwise a later reader may mistake a change of criteria for a change in someone’s behaviour. An immutable record of an event cannot guarantee immutable meaning unless its definitions, context and boundaries remain interpretable too.
5. Test Whether an AI Assistant Knows the Difference
Ask the assistant to name the object
“Approve it” is insufficient when several documents are open. A safe action design identifies the exact resource, version and authorisation. The command should refer to the intended object before anything is changed. It is not enough for an assistant to sound certain about the most recently mentioned file. A mistaken target can still be updated reliably, and an idempotent action can still be wrong. Precise references address a different failure mode from duplicate protection.
Treat tool calls as commands, not outcomes
An assistant might send a publication request to a content management system. That is evidence of a command being issued. The response may confirm acceptance or return an item identifier; later verification can establish that a public page exists. The assistant should not announce “published” merely because a request was sent. This distinction was explored in the synchronous and asynchronous vocabulary article. Completion claims must match the actual stage observed.
Build a state transition test matrix
Use a fictional workflow with draft, submitted, approved and published states. Test whether the assistant permits approval from draft without submission, whether it confuses a rejected approval with success, and whether it can explain a failed publication after approval. Include a withdrawal from published state and a later revision. The point is not to teach a machine four words in isolation; it is to see whether its interpretations preserve which transitions are allowed and which events actually occurred.
Ask what is unknown, not merely what is false
Suppose the assistant cannot retrieve the current publication status because the service is unavailable. “Not published” is unsupported. The outcome is unknown to that observer. A query failure must not be converted into a negative state fact. Ask the assistant to identify the last verified event, the missing observation, and the next appropriate check. An accurate uncertainty statement protects the user from making a second consequential command based on a guessed failure.
Preserve evidence for human review
A compact action record can contain intention, target, caller, governing rule, request identifier, response, final observation and any unresolved limitation. This is an editorially proposed format, not an established universal standard. It supports an audit because another person can distinguish the original request from what the system confirmed. If the information contains personal or confidential material, access and retention need their own controls. Complete traceability should not mean indiscriminate publication of sensitive records.
6. Zoom From One Person to Civilisational Records
Personal zoom: an appointment message
When someone says “my appointment was changed”, ask whether the change was requested, confirmed or merely proposed. A calendar invite might show a new time before the other party accepts it. The person needs the confirmed time and the source of confirmation. This familiar distinction illustrates why action language matters: making an edit to one calendar can change local state without changing what another person has agreed to.
Team zoom: an approval queue
An organisation may count every click on Approve, every successfully completed approval event and every final approved item. These counts can differ. A retry, a rejected attempt or a later reversal creates more process activity than final outcomes. To report “approved applications”, define whether the count describes historical approval events or applications currently in approved state. A simple word can change a dashboard’s denominator and the decisions drawn from it.
Institutional zoom: a public decision register
A published decision can later be amended or withdrawn. The register should make that history legible instead of replacing the original record with only a present-tense label. The appropriate public record depends on applicable law, retention obligations and confidentiality. The vocabulary framework is not legal advice; its contribution is clarifying the questions that institutions must answer. Who acted, under which authority, and what was true at the time?
Digital zoom: multiple copies of the same status
A mobile app, a cached website and a central database may temporarily display different status values. Before assigning blame, identify which version each view represents and whether their documented consistency guarantees allow the difference. A current-state label without a source timestamp can appear more authoritative than it is. Adding an observed-at time or version reference can make the limitation visible without requiring the reader to understand the database’s architecture.
Civilisational zoom: future readers of today’s records
A historian may inherit event names, legal terms and data fields after the original systems and people have disappeared. An unexplained Event42 or ApprovedFlag is less useful than a record whose meaning, actor, evidence and effective definition can be reconstructed. This does not guarantee perfect translation across centuries. It does make historical interpretation more resilient. Preserve the underlying referent and the conditions of the claim, not only a label that future readers may misread.
7. A Practical Seven-Question Audit and Seven-Day Exercise
Seven questions for every consequential workflow
- What object and version does this record describe?
- Is the sentence an instruction, observation, current-state report or proposed transition?
- Who or what asserted it, with which authority?
- What evidence establishes that the claimed event occurred?
- Which prior state, guard conditions and later state are relevant?
- Is the information current, historical or temporarily stale?
- What correction path preserves the original decision and later changes?
Days one and two: identify the ambiguous words
On day one, choose a harmless process such as submitting a draft for review. Gather its button labels, notifications and status screen. Write the exact words beside the stage each actually describes. On day two, list the possible states and actions. Distinguish the click event from the successful business event. Note ambiguities without fixing them by guesswork; questions are valuable until someone with appropriate authority can resolve the governing behaviour.
Days three and four: test boundaries
On day three, write a few contrasting cases: command accepted, command refused, action completed but notification lost, and public display still stale. On day four, have another reader label each case. If two people disagree about whether “completed” applies, inspect the source record and define completion explicitly. Use a test environment rather than causing unwanted real-world actions. Good tests target the differences that affect a decision.
Days five and six: correct the shared vocabulary
On day five, rewrite the unclear messages using the strongest evidence available: “review requested”, “review completed”, “publication approved” or “public page verified”. On day six, connect the revised labels to a rule version and relevant source. Check that a translation, form and AI summary preserve the same distinctions. If a word cannot be made unambiguous without excessive explanation, pair it with a concise contextual sentence.
Day seven: preserve a small, inspectable record
Document the final state map, example events, source definitions, unresolved questions and owner of future changes. Test one revised user message with someone unfamiliar with the project. If they can infer the correct next action without being told a hidden assumption, the vocabulary has become more useful. The aim is not a perfect ontology of everything. It is a modest, repeatable reduction in the risk of turning language into the wrong action.
8. Frequently Asked Questions
Is an event always true?
No. An event record is an assertion that something occurred. Its reliability depends on the observer, system, evidence and correction process. Different systems may record contradictory claims that need investigation. Preserve provenance and avoid confusing a logged assertion with independent verification.
Can a state change without a command?
Yes. Time, external input, automated rules or another actor can change an object’s state. A subscription might expire because a deadline passes. A command is one possible trigger, not the only conceivable cause of transition.
Are events and audit logs the same?
No. Events may be domain records, technical messages or other observations. An audit log is organised for accountability and investigation under a specified purpose. Some event histories can support auditing, but completeness, access controls and trustworthy recording still matter.
Does event sourcing guarantee consistency?
No. It creates a particular way of storing and reconstructing changes. Ordering, concurrent writes, duplicate deliveries, projections and integration with other systems still need deliberate handling. Replaying a flawed event definition can faithfully reproduce a flawed state.
Can a query change something?
In a CQRS design, the query’s domain role is retrieval rather than state modification. Technical logs, cache entries or monitoring data may still be generated. Read the system’s defined boundary rather than claiming that observing anything in a computer never has side effects.
How do we preserve the meaning of a state for future generations?
Keep a definition, object identity, relevant rule version, observation time, provenance and examples of boundary cases with the record. This improves later interpretation without promising perfect or context-free translation. A word only remains useful when the conditions of its use can still be examined.
Continue the Vocabulary at Every Zoom Level
- Timestamp, duration, deadline, timeout and expiry
- Consistency, freshness, availability and durability
- Log, metric, trace, alert and audit trail
- Retry, idempotency, rollback and compensation
- How a semantic compiler could analyse human instructions
- Open-world, closed-world, unknown and false