U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester

CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11:
11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002).
Volle Suite vor U-B: 785/785.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-11-04 14:49:44 +01:00
1 parent 98df5e9e3b
commit 7e22e12cac
80 files changed
+4628 -445

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
<?php
namespace App\Process\Modules;
use App\Process\Activity;
use App\Process\CaseContext;
/**
* A business capability of the process (docs/Prozessarchitektur/Architektur/02 §3): it offers one step of a case's
* course and derives where that step stands from the case's data. Reading methods never write; a module that can carry
* its step out by itself also implements {@see RunsAutomatically}.
*/
interface ProcessModule
{
/** Stable key, e.g. 'offer.binding'. */
public static function key(): string;
/** Version of the module's business behaviour (raised for every change of behaviour, not for wording). */
public static function version(): int;
/** What the configurator, the impact analysis and the contract tests read (pure data, no I/O). */
public static function definition(): ModuleDefinition;
/** Whether the step belongs to this case at all. */
public function applies(CaseContext $case): bool;
/**
* Where the step stands, as the landlord sees it – usually one activity, some steps show none (they only watch) or
* several (one per portal task).
*
* @return list<Activity>
*/
public function activities(CaseContext $case): array;
/** The state the runner uses for dependencies (null: the step has no state of its own and never blocks). */
public function state(CaseContext $case): ?StepState;
}