Hard
Check WAL retention slot approval authority
The task
This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.
Audit retention_slots.py against replication_policy.md. Authority rule: in env='prod', wal_retain_days > 7 must be approved_by 'dba_architect'. If any prod slot exceeds approver authority, set status to 'conflict_detected' and put its slot_id in flagged_items. Otherwise keep 'completed'. Return in result: total_compliant_retain_days=<sum of wal_retain_days for compliant slots>.
- Files you work with
retention_slots.pyreplication_policy.md- Your AI must return
total_compliant_retain_days- Level
- Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Manager’s note
Your AI can’t see this
Thursday 26/11 note on summing WAL retention days for compliant slots. Leave all staging slots out of the reported sum. Ignore the cancelled Q3 proposal to separate audit retention slots. Still verify approval authority across every slot.
Rooms with this problem
More Software & IT problems
- Validate webhook URLs against SSRF Hard
- Find command injection in CI workflows Hard
- Check API changes for breaking changes Hard
- Check cron jobs against the off-peak window Hard
- Check JWT verification settings Hard
All Software & IT problems → · Using TraceGrade for Software & IT hiring