S++Core systems, human-reviewable
S++ (SERVPP) · Language guide

What's New in QService: Server-Side Bounds, Committed Reads and Sequenced Markets

This note follows the previous summary and covers the QService reference runtime as of 30 November 2026. QService is the service that holds conserved quantum values for one or many S++ domains. The items below concern the service itself; the language rules for bounds are unchanged and are described in chapter 20 of the book.

Call bounds are enforced inside the command

A mutation in a logical command may carry an optional interval on the value the quantum takes after the command. The service checks it inside the quantum locks, together with the attribute's own bounds. If any leg would leave its interval the command fails with LOWER_BOUND or UPPER_BOUND, naming the offending quantum, and no leg is applied. There is no read-then-check window in which another command can slip in.

The interval is narrowed against the attribute's configured range, never widened. It is part of the command identity: a retry with the same key but a different interval is rejected, and a replay or restart returns the original verdict instead of judging again against newer state. A reversal repeats the interval so that it matches the original command, but it is not held to it, because it restores a previous state. The service advertises the feature as INVOCATION_BOUNDS on its capabilities endpoint.

Reading the committed value

A new read endpoint returns the committed value of one logical quantum, with the business and physical values and the spaces that agree on it. The value is returned only when a majority of the active spaces hold it, so any command already acknowledged as successful is reflected. The read does not take part in the mutation lock set; it sees the value before or after a command being applied, never a torn one. Without a majority it answers with a retry hint, and an uninitialised quantum is reported as not found. The capability is COMMITTED_READ.

Identity registry appends

The registry that gives each logical entanglement a stable identity used to rewrite and sync its whole file for every command that allocated an identity, so the cost of a command grew with the age of the deployment. It now appends only the new identities. A failed append is reconciled, and a torn tail is repaired by one rewrite before the next append.

One sequencing domain per market

The global sequencer numbers requests per domain, and an ordered-exchange module can now run on top of it with one domain for each market. A command touching one market takes one number in that market's domain. An account shared by two markets is one quantum, and replicas that execute two markets in opposite orders are settled by the vote: the minority replica is marked divergent and rebuilt from a majority donor.

A related fix concerns that rebuild. A space rebuilt from a donor now also votes the batches it skipped, so several spaces rebuilt at once no longer leave a batch without a deciding majority. When no majority arrives in time the coordinator now answers UNKNOWN, as the protocol states, instead of failing with a timeout.

What has not changed

QService remains an adjunct to the language, selected by the application layer. These items change how the service verifies and records a command, not what a scenario says.