Home / Try the demo

Interactive example · sample data · no live connection

See the change.
Follow the proof.

Refinery monitors your data, repairs supported problems at the source, and proves what changed. Connect alongside your operational database. Your applications can keep their direct database connections.

Browser sample available. Live customer connections, API/MCP access and repairs are not publicly released.

Explore a sample correctionILLUSTRATION
01

Explore the decisions behind the result.

Follow a browser example with sample data: what can be read, what must be withheld, and what a supported repair needs.

Customer status: activeELIGIBLEMeets the declared requirements in this sample.
A stale or conflicting fieldWITHHELDReturn the reason and limits, without guessing a value.
A supported correctionSEPARATE PATHRequired approval → source write → exact readback → receipt.
Read evidence explains a release decision. A repair receipt proves an authorized source change. They are different.
Connect → understand → repair → prove → monitor.Sample illustration · no live connection or changes.
Two separate paths · planned availability

Data for this task. Proof for this change.

Your AI needs more than database access. It needs to know whether the data is usable for this task, right now.

  1. AI or applicationDeclares its task and requirements
  2. Read-only gatewayChecks the approved request
  3. Approved source dataSource database stays authoritative
  4. Result with evidenceEligible, limited or blocked
Read evidence

Why this data could be used.

Explains why data was released for a specific purpose and time, checked against approved freshness, quality, scope and policy requirements. A limited result carries explicit restrictions; a blocked result withholds the requested data.

A read check does not create a repair receipt.
Repair receipt

What changed at the source.

Proves an authorized source correction only after exact fresh readback and durable receipt evidence match the operation. A proposal, a routine check or an AI request is not proof of a repair.

The gateway only reads. Repair uses a separate governed path.
Illustrative example · no live data or source change

“What is this customer’s account status?”

An AI assistant asks for account status and service tier within an approved support task. In this example, the source is authoritative and the approved table-level freshness signal passes.

status: active · eligible

The status field meets the task’s approved requirements and can be returned with read evidence.

service_tier: withheld · conflicting evidence

The available values disagree. This field is withheld; a limited result explains the restriction. If the required freshness signal were stale, the affected request would be blocked.

A separate repair request: an AI may request a proposal for a supported correction. In this example a human must approve the exact change. Only an authorized write, exact fresh source readback and a durable repair receipt allow it to be called fixed. Conflicting evidence must first be resolved through an approved basis; the AI cannot pick a value or authorize a write merely by asking.

Existing applications may keep direct database connections. Only consumers using the optional gateway receive its eligibility check; the source database remains authoritative. An AI can request a supported repair, but cannot authorize or execute one merely by asking.

The browser sample is available. Live customer connections, API/MCP access and repairs are not publicly released.

Freshness is currently table-level. Row-level freshness is not release-proven.

Explore the mechanics

Same question. Different data. Different decisions.

Refinery connects alongside your database to inspect, propose supported repairs and prove changes. The examples below explore the optional read-only gateway: what happens when an AI asks for data. The first example also walks through a separate, simulated repair.

Choose an example

An AI assistant asks for a customer’s account status. Change the situation to see what can be shared, what needs review and why.

    This is a simulation over sample data. It runs entirely in your browser, is not connected to a Refinery instance, and does not read or send anything. It shows the decision model, not a live system.
    Worked example · optional gateway ready
    How this decision is reached

    Illustrative checks against sample data. These are not live database results.

      Reading the demo

      What each case is actually showing you.

      Case 01 · blocked, repairable

      A value in a non-canonical form

      A status of 'enabled' when the agreed domain says 'active'. Every human reading it knows what it means. The gateway refuses to assume, because assuming is how a data problem becomes a confident wrong answer. This is the defect class Refinery treats as reference: single row, reversible, no identity or financial effect — so it can be closed under governance rather than queued.

      Case 02 · eligible

      The ordinary path

      Nothing dramatic: an approved consumer, an approved field, a fresh read, a freshness signal inside its window, one unambiguous subject, a canonical value. The value is returned with the evidence that allowed it, so the decision can be reconstructed later.

      Case 03 · blocked on freshness

      Not proven current

      The data may well be correct. It is not proven current, so it does not pass. Note what is not returned: no cached value, no best guess, no silent fallback. The AI gets a reason and a next step, which is a far better input to a customer conversation than a stale number stated with certainty.

      Case 04 · blocked on policy

      Connected is not the same as allowed

      The agent has a working connection, a valid subject, and fresh data — and still cannot read the field, because it is not in the approved set for this purpose. Widening what an AI can see stays a deliberate decision instead of a side effect of database access.

      Case 05 · blocked, never repairable

      The boundary that does not move

      Two records match the same person with different statuses. Refinery will not choose between them and will not merge them — not with approval, not with a receipt. Identity conflicts go to a named human owner. A repair you cannot justify is a guess with paperwork attached.

      The repair chain

      Why the approve button matters

      In case 01 the proposal sits there doing nothing until you approve it, and the write only lands because the row still held the exact expected value. Then the source is read back and a receipt is recorded. That order — expected-before, write, readback, receipt — is what separates a proven fix from a claimed one.

      Honesty about this page

      What the demo does and does not prove.

      It does show

      • The real decision model: purpose binding, source engine, freshness, identity, policy, validity.
      • The real repair sequence, in order, including the expected-before check.
      • The actual reference defect class Refinery treats as certified.

      It does not show

      • A live Refinery instance. Nothing here touches a database or a network.
      • Performance, scale, or availability of the real system.
      • That your schema is supported. Equivalents need a technical fit review.

      Recognise the problem?

      Tell us which AI workflow you would put behind this and which PostgreSQL data it reads. The fit check is free, needs no credentials or data, and ends in a straight yes or no.