Stripe Dispute Evidence UTF-16 & CE 3.0 Completeness Linter
revclamp_lint_dispute_evidenceDeterministically lint a Stripe dispute evidence[access_activity_log] payload against Stripe's 18,000 UTF-16 code unit (String.prototype.length) ceiling, UTF-8 byte length, non-destructive --- BEGIN REVCLAMP CE3 EVIDENCE --- / --- END REVCLAMP CE3 EVIDENCE --- (or [RevClamp Verified Product Usage Log] / [/RevClamp Verified Product Usage Log]) delimiter markers, existing merchant note preservation, 17,922/17,920-char fixed wrapper capacity threshold (SKIP_POST_PRESERVE_DRAFT), and Visa Compelling Evidence 3.0 (CE 3.0) prior-charge (>= 2) + IP/device overlap qualification. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, lint, utf16CodeUnits, maxUtf16Ceiling, remainingUtf16Units, withinCeiling, utf8Bytes, nonDestructiveMarkersPresent, merchantNotesPreserved, merchantNotesUtf16CodeUnits, fixedWrapperUtf16CodeUnits, merchantLogAtCapacity, stagingActionWhenAtCapacity, priorMatchedCount, hasIpMatch, hasDeviceMatch, ce3RubricPassed, and overallVerdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | Set true to lint a sample preset fixture when evidenceLogText / accessActivityLog is omitted. | |
| preset | No | Scenario preset to evaluate when custom evidenceLogText / accessActivityLog is omitted (default: 'valid_ce3_non_destructive'). | valid_ce3_non_destructive |
| hasIpMatch | No | Whether the disputed charge IPv4/IPv6 address matches the historical undisputed charges. | |
| hasDeviceMatch | No | Whether the disputed charge device_id fingerprint matches the historical undisputed charges. | |
| evidenceLogText | No | Merged or candidate Stripe dispute evidence[access_activity_log] payload evaluated against the 18,000 UTF-16 code unit ceiling and non-destructive delimiter markers. | |
| accessActivityLog | No | Alias for evidenceLogText representing Stripe dispute evidence[access_activity_log] payload. | |
| priorMatchedCount | No | Number of prior undisputed Stripe charges (120d-365d old) with matching customer_id and IP/device fingerprint (Visa CE 3.0 requires >= 2). | |
| priorTransactions | No | Optional historical undisputed Stripe charges (120d-365d prior) evaluated for Visa CE 3.0 two-identifier overlap. | |
| disputedTransaction | No | Optional disputed Stripe charge/transaction metadata evaluated against priorTransactions for Visa CE 3.0 qualification. | |
| existingMerchantNotes | No | Existing human AE/support notes inside evidence[access_activity_log] that must be preserved. |