Skip to content

Implement TX_PLAN_SECURITY_RETRACTION validation rules#134

Draft
JSv4 wants to merge 1 commit intofeat/plan-security-acceptance-validationfrom
feat/plan-security-retraction-validation
Draft

Implement TX_PLAN_SECURITY_RETRACTION validation rules#134
JSv4 wants to merge 1 commit intofeat/plan-security-acceptance-validationfrom
feat/plan-security-retraction-validation

Conversation

@JSv4
Copy link
Copy Markdown
Contributor

@JSv4 JSv4 commented Mar 27, 2026

Summary

  • Replaces stub TX_PLAN_SECURITY_RETRACTION validator with real validation logic
  • Validates plan security issuance exists in current state
  • Validates date is on or after the issuance date
  • Validates no prior acceptance exists for this security
  • Wires TX_PLAN_SECURITY_RETRACTION into the XState machine
  • On retraction, removes the security from planSecurityIssuances context

Stack

PR 3/4 — based on #133 (acceptance)

Test plan

Closes #46

@JSv4 JSv4 force-pushed the feat/plan-security-retraction-validation branch from 4bad305 to d6485e5 Compare March 27, 2026 14:49
@JSv4 JSv4 force-pushed the feat/plan-security-acceptance-validation branch 2 times, most recently from 80d467c to 9b9f9b1 Compare March 27, 2026 16:18
Replaces stub validator with real validation logic:
- Validates plan security issuance exists in current state
- Validates date is on or after the issuance date
- Validates no prior acceptance exists for this security

Wires TX_PLAN_SECURITY_RETRACTION into the XState machine.
On retraction, removes the security from planSecurityIssuances context.
@JSv4 JSv4 force-pushed the feat/plan-security-retraction-validation branch from d6485e5 to 7584a7d Compare March 27, 2026 16:19
@JSCRUDAT0 JSCRUDAT0 marked this pull request as draft March 30, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant