Engineering case study / 01

RecoverIT: from payment confusion to an auditable workflow.

A payment problem can span a bank debit, merchant order, gateway reference, refund update and customer conversation. RecoverIT explores how to keep those fragments together in one durable case—while separating AI interpretation from the rules that authorize consequential actions.

21 / 21Synthetic test-mode validation checks
ExplicitHuman approval for consequential actions
DurableCase state, events and audit history
01 / The problem

The conversation isn't the case.

When money appears to leave an account but the merchant order or refund status is unclear, the user may have evidence in different formats and channels. A chat transcript alone is not enough to track what has been checked, what is missing, who approved an action or whether a later response changed the outcome.

Fragmented evidence

Facts live in different places

Receipts, statements, screenshots, order references and provider messages can describe different parts of the same incident.

Lost operational state

Follow-up is easy to lose

A support conversation may end before a provider responds. The next step, owner and reason for waiting should remain attached to the case.

02 / The workflow

One case, from intake to a supported outcome.

RecoverIT structures the process as a sequence of explicit stages. It can wait for missing evidence, retry a check, prepare a legitimate route, request human approval and continue monitoring after an external response.

01 / INTAKEReport
02 / INPUTSEvidence
03 / CHECKVerify
04 / ANALYSEInvestigate
05 / ROUTERecovery path
06 / CONTROLApproval
07 / FOLLOW-UPMonitor
08 / CLOSEResolve or escalate
03 / System design

AI handles ambiguity. Deterministic software handles authority.

USER STORY + DOCUMENTS + PROVIDER MESSAGES
                  |
                  v
       AI INTERPRETATION LAYER
  extract facts · classify · find missing inputs
                  |
                  v
          DURABLE CASE LEDGER
  state · evidence · events · ownership · history
                  |
                  v
       DETERMINISTIC CONTROL LAYER
  validation · authorization · transition rules
  idempotency · retries · approval gates
                  |
                  v
       APPROVED EXTERNAL HANDOFF
                  |
                  v
       MONITOR → VERIFY → RESOLVE / ESCALATE
Design principle: a model may recommend a next step, but it does not authorize a consequential action. The application checks evidence, permissions, state and approval requirements before proceeding.

AI-assisted interpretation

Natural-language issue summaries, document interpretation, structured fact extraction, missing-information detection and provider-response interpretation.

Deterministic controls

Authentication, case ownership, evidence gates, state transitions, human approval, duplicate protection, retries, monitoring and escalation rules.

04 / Reliability

Keep the workflow inspectable when something goes wrong.

Durable state

Case progress is persisted rather than reconstructed from the latest conversation, so later responses can resume the same workflow.

Safe repetition

Idempotency and explicit transitions help prevent duplicate consequential actions when a task is retried.

Human control

The user sees the proposed destination, channel and message, and must approve consequential contact or handoff.

Evidence-led closure

A case should resolve only when the outcome is supported; otherwise it remains waiting, requests input or escalates.

05 / Validation and boundaries

What the evidence says—and what it does not.

The current project reports 21 of 21 checks passed in synthetic/test mode. That validates the covered demo workflows; it is not evidence of production-scale payment recovery, a financial institution integration, customer funds recovered or live provider coverage beyond what is documented in the repository.

Capability boundary: this early-stage product build does not claim independent bank-account or UPI verification, access to private banking credentials, or autonomous movement of money. Synthetic records are labelled as synthetic.
Workflow stateEvidence handlingHuman approvalIdempotencyRetriesAudit historyTest-mode checks
06 / Similar engineering work

Have a workflow that needs the same engineering discipline?

I take on scoped paid tasks involving API integrations, AI-enabled operations, backend workflows, evidence and review tooling, reliability and test automation.