PII-aware customer onboarding with automatic redaction and retention policies.
mvn compile exec:java- Accepts customer data containing PII (email, SSN, phone, credit card)
- Detects PII fields using the same regex patterns as the runtime
- Performs KYC verification using the real data
- Redacts all PII fields (masking) before storage
- Produces a safe, redacted summary for the audit log
- PII detection — built-in patterns for email, SSN, phone, credit card, IP address
- Redaction modes — mask (partial reveal), hash (SHA-256), or remove
- Data retention —
retention_dayscontrols automatic audit entry expiry viapurge_expired() - Audit safety —
retain_prompts: falseandretain_outputs: falsestrip sensitive content from logs - DataPolicyIr — workflow-level and node-level data handling policy in the IR
When submitted to the JamJet runtime, the DataPolicyIr in the workflow IR controls automatic PII handling:
data_policy:
pii_detectors: [email, ssn, phone, credit_card]
redaction_mode: mask
retain_prompts: false
retain_outputs: false
retention_days: 90- java-multi-tenant — tenant-isolated workflows
- java-oauth-agent — OAuth 2.0 delegated auth
- healthcare-compliance — HIPAA-compliant patient intake