review: reject_signup — admin rejects entry #6

Closed
opened 2026-02-28 08:39:58 +00:00 by ash · 0 comments
Owner

🔵 State-Change Slice

Stream: review-{email-hash}
Command: RejectSignup{Email, Reason, RejectedBy}
Event: SignupRejected{Email, Reason, RejectedBy, RejectedAt}

Invariants

  • Must be pending
  • Not already rejected (idempotent)
  • Not already approved
  • Reason ≤500 chars

Tests

TestRejectSignup_Happy
TestRejectSignup_Idempotent
TestRejectSignup_AlreadyApproved → error
TestRejectSignup_ReasonTooLong → error

Agent assignment: builder-review

## 🔵 State-Change Slice **Stream:** `review-{email-hash}` **Command:** `RejectSignup{Email, Reason, RejectedBy}` **Event:** `SignupRejected{Email, Reason, RejectedBy, RejectedAt}` ### Invariants - Must be pending - Not already rejected (idempotent) - Not already approved - Reason ≤500 chars ### Tests ``` TestRejectSignup_Happy TestRejectSignup_Idempotent TestRejectSignup_AlreadyApproved → error TestRejectSignup_ReasonTooLong → error ``` **Agent assignment:** builder-review
ash closed this issue 2026-02-28 08:50:36 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/waitlist#6
No description provided.