# SW-T01: Component responsibilities

Adrian Sutherland · Version 1.0 · Refreshed September 2026

© 2005–2026 Adrian Sutherland.
Source page: https://architectureportal.org/assets/systems

Fictional cancellation service. Proposed design; checks are unrun.

## Process areas

A Simple Architectural Framework (ASAF) describes four continuing areas of work.

Proposed mapping for this fictional change. A review can cover several areas;
accepted decisions remain in place unless a finding reopens them.

| ASAF process area | Work in this example | Information to retain |
|---|---|---|
| Visioning | Agree the behaviour and qualities the service needs. | Required behaviour, invariants and alternatives. |
| Transforming | Design components, change code or prompts and check their behaviour. | Contracts, versions, checks and actual results. |
| Operating | Investigate behaviour in use and retain the input and version context. | Failures, support observations and proposed corrections. |
| Governing | Set authority for shared rules, interfaces and acceptance. | Accepted decisions, exceptions and required checks. |

## Purpose and scope

SW-D1 (Case-service components): preserve the requirements of SI-C01 (Transfer acceptance contract) in the later case-service option. The initial trial remains process-only.

## Responsibilities

| Component | Responsibility |
|---|---|
| Input adapter | Decode the request and supply authenticated caller context. |
| Handler | Check permissions and look up the operation. |
| Pure rule | Turn supplied facts into a transfer plan or rejection. |
| Transaction store | Commit the accepted change atomically when its conditions hold. |
| Relay | Deliver committed notification work. |
| Summary workflow | Propose a summary for review. |

## Dependencies

The rule has no storage or model effects. The transaction store must preserve conditional atomic writes. The summary workflow has no ownership-changing tool.

## State and failure

Store owns durable case state and X7 (Acceptance operation) result. Handler recognises authorised identical repeats before new-operation version checks. Unknown or expired results follow SI-C01 reconciliation.

## Change and checks

Service owner accepts meaning; maintainers implement and check. SW-V1 (Component checks) is unrun. Language, packaging and deployment remain open. Rule tests cannot qualify storage atomicity.
