S++Core systems, human-reviewable
ENGLISH EDITION · OCTOBER 15, 2026
ContentsComplete book

Chapter 4 — Service Categories and Scenario Organization

© 2026 S++ project contributors. All rights reserved. Book copyright.

A business scenario should expose distinct responsibilities rather than disguise an entire workflow as one operation. SPP classifies business services by the effects they are allowed to have.

Business and Technical Responsibilities

Checking whether a buyer may pay is a business validation. Checking a message signature is technical security. The former belongs to business meaning; the latter supports trustworthy execution. Protocols, serialization and database connections should be provided through technical contracts without changing the underlying business rule.

Atomic Categories

Category Responsibility Payment example
Query Obtain and confirm participant facts Load order and payer
Validation Decide whether execution may continue Check eligibility
Calculation Derive results from prepared facts Determine amount due
Update Apply prepared business changes Transfer funds or save a receipt

The update category has two distinct forms:

  • Ordinary update persists descriptive facts or status, such as an address or order state.
  • Quantum service applies conserved deltas to quantifiable transaction properties, such as balances or available/reserved inventory.

Classification follows meaning, not data type: a numeric selling price may be descriptive, while inventory quantity is transactional. Quantum services receive their own definition in Chapter 5.

Scenarios Define Completion

A payment scenario identifies participants, confirms facts, validates conditions, prepares the amount, settles funds and records the agreed outcome. Not every scenario uses every category—for example, quotation can finish without settling a quantum change.

The atomic categories make effects visible. The scenario provides the composition, ordering, boundary and completion criterion. Detailed call restrictions appear in Chapter 7; the language syntax appears in Part III.


Part Contents · Full Book Contents · Previous Chapter · Next Chapter