Instruction file imported from DarpanSolanki/cursor (
.cursor/rules/payments.mdc). Copyright stays with the author.
Payments Module — Active Intelligence
Critical context
- Collections, rails, and integrations that allocate and sync with LMS
bulk_collection_data_pipeline: accounting → payments → downstream allocation / task topics (seeevent-registry.md)- NEFT / disburse-related processors: align with
gaps-and-risks-digest.md(escalate to fullgaps-and-risks.mdwhen GAP-id/area flagged) andsystem_brain/flows/where applicable - Payments is a hub for collection state; accounting and task consumers may depend on it
Before any edit touching collection or allocation flow
- Double-payment / double-allocate on retry?
- Kafka poison messages: fail vs skip?
- Contract alignment with accounting producers (
bulk_collection_data_*, failed-record return path)
After any edit
- Update
.cursor/event-registry.mdif topics or semantics change - Append
.cursor/changelog.md