press-releases: begrenzter Pruefkreislauf mit Admin-Queue (Roadmap 1d.4, E3)
Automatische Pruefung je Meldung hoechstens max_automatic_attempts (3); das letzte Rot blockt statt abzulehnen: Meldung bleibt in review, Admin sieht sie unter "Pruefung noetig" mit allen KI-Begruendungen und entscheidet (Freischalten / Mit Kommentar zurueck). Danach ist die Automatik fuer diese Meldung aus - jede Freigabe geht direkt zum Menschen. Gelb: yellow_to_manual_queue wird jetzt ausgewertet (Vorgabe false). Kundenseite: "Zur Pruefung freigeben" mit Erklaerung der drei Schritte, Versuchszaehler an der Ablehnung, Hinweis auf menschliche Pruefung. Blade: inline @php(...) vor einem @php...@endphp-Block wird als Rohblock gelesen - vier Stellen auf Blockform umgestellt. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c08c9e5de0
commit
0692d892e0
17 changed files with 487 additions and 47 deletions
|
|
@ -50,7 +50,7 @@ test('with the gate on a draft without a booking shows the notice and links to b
|
|||
->assertSee('Noch keine Buchung')
|
||||
->assertSee('Buchung wählen')
|
||||
->assertSee(route('me.bookings.index'), false)
|
||||
->assertDontSee('Zur Prüfung einreichen');
|
||||
->assertDontSee('Zur Prüfung freigeben');
|
||||
});
|
||||
|
||||
test('with the gate on a paid single purchase unlocks the submission action', function () {
|
||||
|
|
@ -63,7 +63,7 @@ test('with the gate on a paid single purchase unlocks the submission action', fu
|
|||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertDontSee('Noch keine Buchung')
|
||||
->assertSee('Zur Prüfung einreichen');
|
||||
->assertSee('Zur Prüfung freigeben');
|
||||
});
|
||||
|
||||
test('submitting without a booking is rejected at the service level', function () {
|
||||
|
|
@ -105,5 +105,5 @@ test('with the gate off the notice never shows', function () {
|
|||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertDontSee('Noch keine Buchung')
|
||||
->assertSee('Zur Prüfung einreichen');
|
||||
->assertSee('Zur Prüfung freigeben');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue