Skip to content

State Worker Ownership

Give job effects and acknowledgement one authoritative worker owner.

Generated example

This page is generated from evaluations/scenarios/state-worker-ownership.yaml. The scenario YAML remains the executable source of truth.

Request

Repository evidence

No repository signals.

Expected resolution

Resolution layer Expected
Profile —
Modifiers —
Language adapters —
Framework adapters —

Normalized context

{}

Skill modes

None.

Conflict decisions

None.

Significant decisions

None.

Principles under test

Forbidden outcomes

  • Allow multiple uncoordinated writers.
  • Acknowledge through a hidden query effect.

Scenario source

schema_version: 0.10.0
id: state-worker-ownership
description: Give job effects and acknowledgement one authoritative worker owner.
input:
  skill: state-and-side-effects
  mode: single-owner-mutation
  profile: background-worker
  modifier: high-throughput
  task: Process delivered jobs concurrently without duplicate effects.
expected:
  active_principles:
  - command-query-separation
  - encapsulation
  - single-source-of-truth
  constrained_principles:
  - immutability
  suppressed_principles: []
forbidden:
- Allow multiple uncoordinated writers.
- Acknowledge through a hidden query effect.
principles_under_test:
- command-query-separation
- encapsulation
- single-source-of-truth
- immutability