V2.1: Kanalfähigkeiten, Ausführungsvarianten, Dokumentenentkopplung, Portalbestätigung

Modellwahl über Kanalfähigkeiten mit erklärten Einschränkungen, Abgleich alter Werte,
Ausführungsvarianten je Modul, getrennte Vertrags-/Buchungsinformation, Warten auf
die Portalbestätigung mit Eskalation und Wiederaufnahme (Fälle C und D getestet).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-05 07:54:11 +01:00
1 parent ef1635e59a
commit 8442d0a3d8
62 files changed
+1818 -69

No files matched your search

+7
View File
@@ -2,6 +2,7 @@
namespace App\Process\Modules;
use App\Enums\Execution;
use App\Enums\ProcessSetting;
/**
@@ -41,6 +42,9 @@
* @param list<string> $events history types that belong to the step (shown behind the step)
* @param list<string> $points extension points the module may be inserted at (checked; empty = fixed place in a model)
* @param bool $readsContractData evaluates frozen contract data – needs an ongoing-case test (checked)
* @param list<Execution> $executions the admissible ways to fulfil the task (V2.1; the model may narrow them)
* @param string|null $condition when the step applies, in plain words (DESCRIBES – the logic is `applies()`, never read from here)
* @param string|null $why why the task is mandatory, shown instead of a lock
*/
public function __construct(
public string $label,
@@ -58,6 +62,9 @@ public function __construct(
public array $points = [],
public bool $readsContractData = false,
public string $availability = self::AVAILABILITY_PRODUCTION,
public array $executions = [],
public ?string $condition = null,
public ?string $why = null,
) {}
public function isOptional(): bool