BHARAT20052/Caseworkers-Morning-Agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python command line app that acts like a morning triage assistant for caseworkers. It should read a queue of referral JSON files, validate each referral before doing anything, pull the resident history, household, and recent events from a local history service, then produce a short caseworker note that clearly separates verified facts from referral allegations. It also needs to check every requested action against a strict authority policy, and if anything goes beyond what it is allowed to do, it must stop and create a human approval escalation instead of making any changes. Please make it keep going through the whole batch even if one referral fails, and log every step into an audit file so I can inspect what happened later. Include simple commands to run the full workflow, inspect one referral, and view the audit log, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab