pranav-bhagath19/RAVEN ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python app called RAVEN that helps merchants safely recover failed payments without risking duplicate charges or spammy follow ups.
I want it to accept Razorpay webhook events, verify the request signature, ignore duplicates, reconstruct the payment state, and then decide whether a recovery action should happen or whether it should be escalated to a human. Keep the AI part limited to making suggestions, and make sure the actual approval and execution stays deterministic and locked down with a token based policy check.
Also add a small API with health and operations endpoints, a local dashboard style overview, and clear logging that hides sensitive data like emails, phone numbers, and secrets. It should include the demo scripts and tests from the repo, work well with Docker, and be easy to run locally. If you need current docs for Razorpay or FastAPI, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit