Mandate
Two members of a household needed to record groceries and indicate when those groceries had been purchased. A shared note had served this purpose until one participant accidentally deleted an item before the other had read it.
The investigator characterized this incident as a failure of the underlying state model. The household characterized it as forgetting the onions. Both accounts were retained.
Intervention
The list was remodelled as an append-only sequence of domain events. An item could be requested, amended, purchased or withdrawn. Each event carried a unique identifier, a household identifier and a timestamp. Corrections produced new events rather than erasing the record.
A command service validated requests and persisted events. A projection service maintained the current shopping list. A small web interface displayed that projection and allowed updates. The separation enabled each responsibility to be described accurately in the architecture document.
Idempotency keys prevented a retried request from adding the same item twice. Optimistic concurrency checks protected simultaneous edits. The interface retained pending changes during temporary disconnection and made its synchronization state visible. These were appropriate responses to the decision to support two phones in a supermarket with unreliable reception.
The system distinguished duplicate requests from deliberate quantities. This required a policy for deciding whether two entries for milk represented one request repeated or two cartons intended. The household was consulted as the domain authority.
Findings
The architecture preserved a complete account of how onions entered and left the household’s intentions. This history was inspectable and had no demonstrated readership.
The event log allowed the current state to be rebuilt after a projection failure. A successful recovery exercise established that the household could regain its shopping list from first principles. The exercise took longer than writing the list again.
The original deletion incident could no longer erase evidence. It could, however, be represented faithfully as an erroneous withdrawal event. The investigator considered this a meaningful distinction.
The architecture document included a discussion of throughput. Measured peak demand remained below one event per second, including the test in which both participants pressed the same button repeatedly.
Disposition
The intervention qualifies as Class IV through the introduction of independently coordinated components whose operational needs exceed those of the original household activity.
The design is sound within its stated assumptions. The Committee’s only outstanding question concerns whether biscuits should be treated as groceries or a separate bounded context.