Stack: Python (standard library only), SQLite, pdftotext, Tesseract OCR, unittest
What it does
Built for HackerRank Orchestrate, October 2026 (Ghost Data Still Exists). For each user-data deletion request, the agent decides whether the deletion is COMPLETE, INCOMPLETE or NOT_APPLICABLE, then emits ordered findings, remediation and verification steps. Every step cites evidence captured at or before the audit time.
All 518 cases run in about 0.4 seconds with no LLM calls, and re-runs produce a byte-identical output.
How it’s built
- Ingestion: one loader per format (six log dialects joined by
trace_id, SQLite primary and replica snapshots, service exports, PDFs and screenshots), all normalized into uniform observation records - Identity closure: maps a request email to every identifier the user ever held (emails, phones, SHA-256 hashes, user id), with exact matching only, so look-alike decoys don’t match
- Evidence graph: an identifier ↔ resource index over all evidence that respects capture time
- State at audit time: observations outrank claims. A workflow saying “deleted” is a claim, while a read-back or a surviving replica row is proof
- Deterministic planner and validator: policy rules map each resource to its required end state, and the output contract is checked on every write
Design decisions
- No LLM in the decision path: an audit is only trustworthy with exact ids, ordering and citations, and code guarantees them where a model only approximates them
- No unsupported identity claims: when several requests could own an unlabelled account, none is chosen. This costs some recall but keeps precision perfect
Results
On the 32-case development set: status accuracy 1.000, step precision 1.000, step recall 0.902 and a false-COMPLETE rate of 0, backed by 16 regression tests and an ablation study.