From payment events to refund notifications.
Coding-agent software
A payment-event implementation reaches review. The reviewer and tests establish that events must use the transactional outbox and publish only after the database transaction commits.
Example evidence [C1]
The payment-event review and its tests. They establish the rule for Customer A's billing services, not every service or customer.
Write the billing event into the outbox in the transaction. Publish after commit.
Customer A · billing services
Another developer asks their agent to add refund notifications. The agent retrieves the lesson and proposes the outbox path before review. [C1]
The intended benefit: fewer repeat design corrections.
When the work changes
If the billing architecture changes, contribute the new finding and revise the earlier lesson. Later retrieval should reflect the updated evidence, rather than keep repeating an outdated rule.
Customer B does not receive Customer A's billing lesson.