# Sift for agents

Sift is a tool an AI agent calls to audit and clean customer data safely. The
agent decides what to do. Sift does the counting and the fixing, and proves
what it did.

Built and tested with Claude Code. Other MCP clients should work.

Latest release: 0.8.2. MIT licence. What changed in each version:
[CHANGELOG.md](https://github.com/heyifebuilds/sift/blob/main/CHANGELOG.md).

Sift is new. The first release was on 28 November 2026 and one person
maintains it. Check it against the answer key in step 3, and cross-check any
number that matters.

## 1. Install

Needs Node 18 or newer. There is nothing else to install: Claude starts Sift
with `npx`, which fetches the published package
([@heyife/siftdata](https://www.npmjs.com/package/@heyife/siftdata)) the first
time.

Sift runs on your machine and makes no AI calls. It makes no network calls
either, unless you turn on a live database connection (see What Sift reads)
or the usage ping (see What leaves your machine).

The config below pins a version (`@0.8.2`), so Sift only changes when you
change that number. Read the [changelog](https://github.com/heyifebuilds/sift/blob/main/CHANGELOG.md) first, then edit it. Leave the
version off and npx fetches the newest release on any start.

## 2. Connect Claude

**Claude Code.** Add `.mcp.json` to the folder you work in, then open a new
session and approve `sift`:

```json
{
  "mcpServers": {
    "sift": {
      "command": "npx",
      "args": ["-y", "@heyife/siftdata@0.8.2"]
    }
  }
}
```

**Claude Desktop.** Settings, Developer, Edit Config. Add the same `sift` entry
inside `mcpServers`, then restart Claude.

**From source.** To run your own copy instead, clone the repo, run
`npm install` and `npm run agent:build`, and use `"command": "node"` with
`"args": ["/path/to/sift/dist-agent/sift-mcp.mjs"]`.

## 3. Try it on the test files

The repo ships fake files and an answer key in `test-data/`. Clone it or
download that folder, then paste this to Claude, using full paths:

> Use Sift to match test-data/crm_companies.csv on customer_id to
> test-data/product_accounts.csv on account_id. Tell me matched, CRM only,
> product only and the match rate.

The right answers are 1,010 matched, 41 CRM only, 140 product only, 96.1%. The
rest are in [test-data/ANSWERS.md](https://github.com/heyifebuilds/sift/blob/main/test-data/ANSWERS.md).

## The tools

| Tool | Gives back | Writes files |
| --- | --- | --- |
| `sift_profile` | Rows, columns, blanks, values not in standard form, and on request the most common values in each column | No |
| `sift_count` | Duplicates (exact and trimmed/lowercased), blank key fields, values not on an allowed list, and rows meeting a condition with a sum and average | No |
| `sift_match` | Matched, left only, right only, match rate, and rows, customers, sums, averages and days between two dates for checks across the join | No |
| `sift_prepare_import` | Rows to hold back before an import, with a reason each, and optional ready and held files | Only when asked |
| `sift_reshape` | Proposes a column mapping to another system's layout, then with the agreed mapping writes a new CSV in that layout, with readiness counts and a receipt | Only with an agreed mapping |
| `sift_check` | Pass or fail against the rules file's limits, and what moved since the last run | Only a history file, when asked |
| `sift_sample` | A repeatable sample of customers, traced through every file: found, missing, and the fields you name | Only when asked |
| `sift_fix_dry_run` | What a fix would change, how many rows each reason flagged, and a dry run ID. Fixes: phone, email, postcode, company_name, trim, case, map_values, number, date_format, strip_currency, set_if, blank_to, mark_duplicates, status, fill_id | Only the flagged-rows file, when asked |
| `sift_fix_apply` | The new file's path, a receipt ID and a changes-only file, or why it stopped | A new copy, a receipt and a changes-only file |
| `sift_fix_undo` | The restored file's path and whether it matches the original | A restored copy |
| `sift_check_landed` | After an import, which changes reached the CRM, by record ID | No |
| `sift_measures` | Health measures for every complete month: active share, activation, repeat, win-back | Only a history file, when asked |
| `sift_holdout` | Picks a hold-out group by seed, or tops one up, and writes the list for the email tool | A hold-out list |
| `sift_lift` | Lift against the hold-out over a window: each group, the difference, a 95% range, and the same before the start | Only a history file, when asked |

Every tool takes file paths or a database table, never rows. Results are
counts, flagged row IDs, file paths and receipt IDs.

Most work uses profile, count, match, prepare, check and the fixes.
`sift_measures`, `sift_holdout` and `sift_lift` are for one narrower job,
measuring a lifecycle programme. Skip them unless that is your job.

## When to use Sift, and when not

Use it for a file over a few hundred rows, a count you will quote to someone,
and any change to customer data.

You don't need it for:

- **A short list.** At twenty rows, let Claude read the file.
- **A number that already comes from a query.** A warehouse or dashboard
  query is already exact and repeatable. Keep one source for each number.
- **A quick look** where a wrong count costs nothing.

**Sift or a script.** Claude can also write a pandas or DuckDB script and get
an exact count. That is the real alternative, and it is often fine. Sift adds
what a fresh script doesn't have:

- **Tested rules.** What counts as a duplicate, a blank or a valid UK phone
  number is fixed and checked against an answer key, not written again each
  time.
- **Rows stay out of the model.** A script returns whatever it prints. Sift
  returns counts and row IDs.
- **A dry run, a receipt and an exact undo** for every change.

**What Sift can't do.** It can't choose the question. Claude still picks the
columns and the condition, and can pick the wrong ones. Sift makes the answer
exact, not the question right, so have Claude say which columns and condition
it used before you quote the number.

### Reading the numbers right

- **Rows or customers.** A customer can sit on several rows. Each match check
  gives `count` (rows) and `customers` (distinct IDs), and says so when they
  differ. Quote customers when you mean customers.
- **How keys were compared.** The match result says whether keys were
  compared exactly or trimmed and lowercased first (`keysNormalised`, and a
  note in plain English).
- **A key on several rows of the other file.** A condition on the other file
  holds if any one of that customer's rows meets it. When that can happen,
  the check says how many customers it applies to (`otherSideRepeats`).
- **What a field holds.** `sift_profile` with `topValues` lists the most
  common values in each column, with row counts. It only shows values found
  on two or more rows, so no single record's value leaves the file, and
  personal fields (email, phone, names, addresses) show counts only unless
  the person allows them.

## What Sift reads

**Files.** CSV, TSV, Excel (.xlsx), JSON, JSON Lines and Parquet. Profile,
count and match read them all, and a match can join two different formats.
Fixes work on CSV only: Sift writes a fix by swapping just the changed cells
in the original text, which is what makes undo exact.

**Big files.** Sift has two engines that give the same numbers. The memory
engine reads the file into memory. The DuckDB engine runs the same checks as
SQL, so a file can be far bigger than memory. Sift picks DuckDB for CSV and
Parquet files over 100 MB, and an agent can ask for either with `engine`. On a
1.2 million row test file, every count came out at exactly 1,000 times the
answer key.

**Warehouse exports.** Export a table from Snowflake or BigQuery as Parquet
and point Sift at the file.

**Databases, read-only.** A tool can take `source` instead of `file`:

- A DuckDB file: `{"type": "duckdb", "path": "/abs/warehouse.duckdb", "table": "crm"}`
- Postgres or MySQL: `{"type": "postgres", "connection": "env:CRM_DB", "table": "public.companies"}`

Give a `table` or one SELECT `query`. Databases are opened read-only, and
anything but a single SELECT is refused.

A live database is the one thing Sift reaches over the network, so it is off
until you turn it on. Put the connection string in an environment variable
and set `SIFT_ALLOW_DATABASES` in Sift's entry in your MCP config:

```json
{
  "mcpServers": {
    "sift": {
      "command": "npx",
      "args": ["-y", "@heyife/siftdata@0.8.2"],
      "env": {
        "SIFT_ALLOW_DATABASES": "1",
        "CRM_DB": "postgres://readonly_user:password@host:5432/crm"
      }
    }
  }
}
```

The agent only ever sees `env:CRM_DB`, never the password. Use a read-only
database user as well. The first connection downloads DuckDB's Postgres or
MySQL extension.

## The rules file

Sift knows generic moves. What matters to your company goes in a rules file,
one per record type: key fields, allowed values, standard formats, fields Sift
must never touch, guardrails, limits for checks, and the date "today" means
for date checks. See [rules.contacts.json](https://github.com/heyifebuilds/sift/blob/main/rules.contacts.json) for a
prospect list and [rules.companies.json](https://github.com/heyifebuilds/sift/blob/main/rules.companies.json).

## Before an import

For a list headed into a sending tool, one prompt does the whole run:

> Use Sift with rules.contacts.json on prospects.csv. Dry run the email fix and
> apply it if it's under the limit. Then prepare the fixed file for import,
> holding back anyone already in sending_tool_export.csv, Lost in crm.csv, or
> unsubscribed in comms.csv. Write the ready and held files and check the
> ready file against the limits.

What happens:

1. **The email fix.** Capitals, stray spaces, `mailto:`, a name around the
   address, spaces around the @ and a comma for a dot are fixed. No @, no dot
   in the domain, a space inside the address, or a typo such as `gmial.com` is
   flagged for you, never guessed.
2. **`sift_prepare_import`** holds back rows with a blank or unusable email,
   the same email as an earlier row, and anyone found in the files you name,
   each with its own reason. With `write`, it writes a ready file (rows to
   import, each exactly as it was) and a held file (the rest, with a
   `sift_reason` column). Together they hold every row once.
3. **`sift_check`** says pass or fail for the ready file against the limits
   in the rules file.

On the test list: 96 emails fixed, 21 flagged, 149 rows held back, 651 ready,
and the ready file passes. Every number is in the answer key.

## Checks that can fail, and over time

The rules file can set limits, each the largest share of rows allowed:

```json
"limits": {
  "duplicates": 0.01,
  "missing": { "email": 0.02, "first_name": 0.05 },
  "not_standard": { "email": 0.05 }
}
```

Over a limit fails; exactly on it passes. `sift_check` reports the count and
share for each limit. With a history file, it appends each run and says what
moved since the last run of the same source.

The same check runs without an agent, for n8n, cron or CI:

```bash
npx @heyife/siftdata@0.8.2 check prospects.csv --rules rules.contacts.json --history runs.jsonl
```

Exit code 0 when every limit passes, 1 when one fails, 2 when Sift could not
run, so a pipeline can stop an import on a fail. Point it at a warehouse table
with `--source` and run it on a schedule to watch the source, not just one
export:

```bash
npx @heyife/siftdata@0.8.2 check --source '{"type":"duckdb","path":"/abs/warehouse.duckdb","table":"contacts"}' --rules rules.contacts.json --history runs.jsonl
```

## Tracing a sample of customers

An audit follows a handful of real customers through every tool, end to end:
did anyone get dropped at a handover, is every touch on the record, did each
sleeping customer get a task. `sift_sample` picks them and does the following.

> Use Sift to sample 20 customers with stage New created in the last year from
> crm.csv, and 10 with a first order in the last 90 days from product.csv, seed
> audit-2026-11. Trace them through crm.csv, product.csv, comms.csv and
> orders.csv on the customer ID, showing stage, owner, journey and the dates.

- **Repeatable.** Each eligible ID is ranked by the SHA-256 of the seed and the
  ID, and the lowest are taken. The same seed gives the same customers,
  whatever order the rows are in. Write the seed in the audit.
- **For each customer and file:** found or missing, how many rows, and up to
  five values for each field you name. Missing is the finding: a won customer
  with no comms record was dropped.
- **Personal fields stay out.** This is the one tool that returns values from single records, so
  it refuses email, phone, names and addresses unless you allow them.
- **Evidence.** With `write`, the trace is saved as a CSV next to the file.

On the test files: 82 eligible new customers and 135 won, 20 and 10 sampled.
One won customer has no comms record, and one is still New in the CRM after
21 orders.

## Format fixes and duplicates

Three fixes that need no second rules file:

- **postcode** writes a UK postcode in capitals with one space before the
  last three characters. A value that isn't a postcode shape is flagged.
- **company_name** re-cases a name written all in capitals: "ABBOTT
  BAKERIES LTD" becomes "Abbott Bakeries Ltd". It keeps "&", words with a
  digit, words with no vowels (HSBC) and anything in the rules file's
  `keep_capitals` list in capitals. Names in mixed case are left alone.
- **mark_duplicates** never merges or deletes. It adds a last column,
  `sift_duplicate_of`, with the record ID of the first copy on every
  duplicate, matched the way the rules file's `duplicates` says. Undo takes
  the column off again.

## General fixes for any column

These name the column to change with `column`, and take their settings in
`params`. phone, email, postcode and company_name take `column` too, when the
field has another name.

- **trim** takes spaces off both ends and collapses double spaces.
- **case** sets `style` to upper, lower, title or sentence. Title keeps
  acronyms such as LED.
- **map_values** swaps values by an exact lookup table, given as `map`
  (`{"CW": "Cookware"}`) or as `mapName`, a table in the rules file's
  `value_maps`. A value not in the table is flagged and left as it is. No
  near matches, no case folding.
- **number** adds, multiplies or rounds: `{"op": "add", "value": "+5%"}`,
  `{"op": "multiply", "value": 1.2}` or `{"op": "round", "decimals": 2}`.
  The sums are exact decimals, rounded half up, by default to the value's
  own decimal places. Text, currency symbols and two decimal points are
  flagged, not guessed.
- **date_format** rewrites dates in the format you name with `to`, such as
  `YYYY-MM-DD` or `D MMM YYYY`. A date like 03/04/2026 could be either way
  round, so it is flagged unless you set `order` (day_first or month_first),
  here or as `date_order` in the rules file. Two-digit years, times of day
  and dates that don't exist are flagged too.
- **strip_currency** takes off currency symbols and thousands separators. A
  column that mixes currencies is flagged instead.
- **set_if** sets the column to `value` where `where` holds, a condition on
  the same file's columns as in `sift_count`. The dry run says how many rows
  met it.
- **blank_to** fills blank cells with `value`, and only blank cells.

The dry run describes changes without quoting values, apart from a lookup
table's own entries.

## Counts with conditions on one file

`sift_count` takes `where`, written as in `sift_match` but with plain column
names, such as `{"field": "status", "op": "eq", "value": "open"}`. It returns
how many rows meet it and their share of the file. Add `sum` to total one
column over those rows, with an average. Blanks and text are left out of the
sum and counted, never treated as 0. Date conditions use `asOf` or the rules
file's `as_of`: `within_days` and `older_than_days` look back from it, and
`due_within_days` looks forward (0 to N days after it), for renewals or
contracts due soon. The same three work in `sift_match` and `set_if`.

On the test invoices: 7 open, worth 6,123.75. On the test renewals: 3 due in
the next 30 days, worth 840.00.

## Reshape into another system's layout

`sift_reshape` rearranges a file into the columns another system expects: a
booking form, a CRM import template, a supplier portal. It writes a new CSV
and never changes the source.

1. **Propose.** Give the file and the target layout, as a template file or a
   list of columns. Sift proposes a mapping from the column names, with how
   sure it is of each pair, and writes nothing. Show it to the person.
2. **Write.** Send back the mapping they agreed, naming every target column:
   a source column, `null` to leave it blank, or `{"value": "Agent"}` for the
   same value on every row. Sift writes the new file and a receipt with the
   source, template and output hashes.
3. **Readiness.** Against the template, Sift counts blank required fields,
   values of the wrong type, values outside the template's allowed list and
   dates that could be either way round. Each comes with the source column
   and the fix that would help. Values are never changed here.

Pass `saveAs` with a rules file to keep the mapping in its `mappings`, then
next time pass `mappingName` instead.

## Fix mode: one status and one ID per customer

Two more fixes put each customer's records straight, and a check proves the
change reached the CRM. Both need a second rules file, passed as `fixRules`.

- **status** sets each record's status from rules you agree once, written in
  the same conditions as `sift_match`, first rule that fits wins. Records no
  rule fits, or with no matching account, are flagged and left as they are.
  The dry run says what kind each change is: a real `move` between stages
  ("Active to Lost"), a `cleared_invalid` value that was never a stage ("TBC
  to New"), or a `filled_blank`, so a sales team can see the real moves.
  See [status.sample.json](https://github.com/heyifebuilds/sift/blob/main/status.sample.json).
- **fill_id** fills a blank customer ID by matching another field, such as
  email, to a file that has the ID. It only ever fills blanks, and flags a
  match that points to two IDs or to an ID another record already has. See
  [fill.sample.json](https://github.com/heyifebuilds/sift/blob/main/fill.sample.json).
- **`sift_check_landed`**: after you import the changes file, export the
  records again and pass both. It says which changes landed, which still show
  the old value, and which records are gone, by record ID.

Same pattern as every fix: a dry run, then apply with its ID, a receipt and
an exact undo.

## Advanced: health measures

`sift_measures` works out new customers, active share, revenue, orders per
active customer, activation rate, time to activation, repeat rate and
win-back rate for every complete month, from a definitions file and your
accounts and orders exports. With a history file it keeps every run, so a
month's number can be compared later. Definitions:
[docs/measures.md](https://github.com/heyifebuilds/sift/blob/main/docs/measures.md), sample:
[measures.sample.json](https://github.com/heyifebuilds/sift/blob/main/measures.sample.json).

## Advanced: lift against a hold-out

A change after a build goes live isn't proof the build caused it. A hold-out
is: a small random group who get no lifecycle messages, compared with
everyone else.

- **`sift_holdout`** picks the group. A customer is held out when the SHA-256
  of the seed and their ID, read as a fraction, is below the share. The same
  seed always gives the same group, so anyone can re-check it. It writes a
  one-column list for the email tool's suppression segment and returns counts
  and a fingerprint, never IDs. Pass the earlier list as `existing` to add new
  sign-ups by the same rule: nobody already held out ever moves.
- **`sift_lift`** reads it for a window: the share who ordered, revenue per
  customer or orders per customer, in each group, the lift (messaged minus
  hold-out) and a 95% range (Newcombe's for two shares, Welch's for averages).
  It does the same for the window of equal length before the start, so you can
  see the groups began alike, and with a send log it counts held-out customers
  who were messaged anyway. They stay in the hold-out, read as assigned.
- **A range that includes zero** means the hold-out can't tell this lift from
  none. Sift says so in words. Under 30 customers in a group, it gives no range.
- **`extra`** is the lift times the messaged group: how many more customers
  ordered, or how much more revenue or how many more orders, than without the
  messages, with its range. Revenue is in the orders file's own currency.

Pick the hold-out the day suppression starts, then read it each quarter:

```json
{"tool": "sift_holdout", "args": {"file": "/abs/customers.csv", "key": "customer_id",
  "share": 0.15, "seed": "lift-2026-07", "outputDir": "/abs/audit/evidence"}}

{"tool": "sift_lift", "args": {
  "holdout": {"file": "/abs/audit/evidence/customers.sift-holdout-e053dcfe.csv"},
  "customers": {"file": "/abs/customers.csv", "key": "customer_id", "signupDate": "signup_date"},
  "orders": {"file": "/abs/orders.csv", "key": "customer_id", "date": "order_date", "value": "value"},
  "sends": {"file": "/abs/sends.csv", "key": "customer_id", "date": "sent_date"},
  "start": "2026-07-01", "end": "2026-10-01", "outcome": "ordered",
  "label": "T-001", "history": "/abs/audit/lift-history.jsonl"}}
```

A name Sift doesn't know in `holdout`, `customers`, `orders` or `sends` is
refused, never dropped: a misspelt `signupDate` would otherwise count later
sign-ups in the wrong group. Use a customers export at least as new as the
orders export. Many orders "for customers not in the customers file" means it
isn't.

On the test files: 3,405 messaged and 595 held out. In the quarter after the
start, 37.7% of messaged customers ordered and 28.9% of the hold-out: 8.7
points higher (range 4.6 to 12.6). Before the start the two were 0.1 points
apart. Seven held-out customers were messaged anyway.

## Guardrails

- **No rules file, no fix.** A dry run or apply needs a rules file that sets a
  share-of-rows limit (`stop_if_share_of_rows_changed_over`). Without one it
  refuses, because no guardrail would apply.
- **Every flagged row is a decision for you.** A dry run counts flagged rows
  by reason and shows the first 50. Pass `flaggedFile` and it writes all of
  them (row, record_id, reason) to a CSV you can review. That is the only
  file a dry run writes.
- **The first run is report only.** Apply needs the `dryRunId` from a dry run of
  the same file. If the file changed since, apply stops.
- **Share of rows changed.** The sample rules stop any fix that would change
  over 20% of rows. An agent can raise the limit for one job with
  `maxShareChanged`; the rules file is not changed.
- **Never delete rows, never edit hands-off fields, never overwrite the
  input.** Each is checked before anything is written.
- **Undo is exact.** Fixes replace only the changed cells in the original text,
  so undo puts back the original bytes and checks them against the original's
  fingerprint.

## Files Sift writes

Next to the input, or in the output folder you set, for `crm_companies.csv`:

| File | What it is |
| --- | --- |
| `crm_companies.sift-phone-<id>.csv` | The fixed copy |
| `crm_companies.sift-phone-<id>.receipt.json` | Every changed row, old and new value |
| `crm_companies.sift-phone-<id>.changes.csv` | One row per change: record_id, field, old, new, row. For a CRM import |
| `crm_companies.sift-undo-<id>.csv` | The original, rebuilt by undo |
| `prospects.sift-ready-<id>.csv` | Rows to import, from prepare with `write` |
| `prospects.sift-held-<id>.csv` | Rows held back, with a `sift_reason` column |
| `crm_companies.sift-sample-<id>.csv` | A sample's trace, from `sift_sample` with `write` |
| `customers.sift-holdout-<id>.csv` | A hold-out list, from `sift_holdout` |

The receipt and changes file hold real values from your file. Treat them like
the data.

### One folder, values left out, cleared after

To keep every job's files in one folder, set `SIFT_OUTPUT_DIR` in the config's
`env`, or pass `outputDir` to a single call. Use an absolute path.

```json
"sift": {
  "command": "npx",
  "args": ["-y", "@heyife/siftdata@0.8.2"],
  "env": { "SIFT_OUTPUT_DIR": "/Users/you/sift-output", "SIFT_MASK_RECEIPTS": "1" }
}
```

With `SIFT_MASK_RECEIPTS=1`, or `maskReceipt` on one fix, the receipt keeps
record IDs and row numbers but no values: each old and new value becomes a
salted hash, and the changes file leaves the old values out. The landed check
still works. Undo doesn't, so keep the original export until you are done;
Sift never changes it. A hash hides a value from someone reading the receipt,
but anyone who already knows a value can test for it, so it is not encryption.

When a job is finished, clear the folder:

```bash
npx @heyife/siftdata@0.8.2 clean /Users/you/sift-output
npx @heyife/siftdata@0.8.2 clean /Users/you/sift-output --yes
```

The first lists the files Sift wrote. `--yes` deletes them. Only Sift's own
file names match, so your files and any folders inside are left alone.
`--older-than 7` keeps anything newer, for a cron job. Once a receipt is
gone, so is its undo.

## What leaves your machine

- **Sift for agents: nothing, unless you turn on the usage ping.** No
  network calls apart from a live database you turn on yourself, and the
  ping below. Your agent gets counts and record IDs, not rows. `sift_sample`
  is the one tool that returns values from single records, and it refuses
  personal fields unless you allow them.
- **The usage ping is off unless you set `SIFT_TELEMETRY=1`.** It tells us
  which tools get used, so we know what to improve. Each call sends the
  tool's name, Sift's version, whether it worked, the row count in a band
  (such as 1k-5k) and your agent's name (such as claude-code). Nothing from
  your files: no paths, column names or values. It never slows a call and
  works offline. `DO_NOT_TRACK=1` turns it off whatever else is set. To turn
  it on, add this to Sift's entry in your MCP config:

  ```json
  "env": { "SIFT_TELEMETRY": "1" }
  ```
- **Your agent can still open files itself.** Sift never sends rows, but
  Claude has its own file tools and will open an export if asked. In Claude
  Code, block that for your exports folder in `.claude/settings.json`:

  ```json
  { "permissions": { "deny": ["Read(./exports/**)"] } }
  ```

  That covers Claude's file tools and simple shell reads such as `cat` and
  `head`. For every other shell command and script, also turn on Claude
  Code's [sandbox](https://code.claude.com/docs/en/sandboxing) with a read block on the same folder. Sift runs as
  its own process, so it can still read the folder. These guard against
  opening a file by accident; they are not a wall. Claude Desktop has no such
  setting, so there, tell the agent to use Sift and not open the files.
- **The website, siftdata.app,** has cookieless, EU-hosted usage analytics
  that never include file contents. The browser cleaner works on your file
  inside the tab. It is a hosted page, so if you would rather not trust it,
  run it from the source: `npm install`, then `npm run dev`.
- **Each release** is built from this repository by GitHub Actions, with npm
  provenance, so npm shows the exact commit it came from. It goes live only
  after the maintainer approves it on npm with two-step sign-in.
  The [changelog](https://github.com/heyifebuilds/sift/blob/main/CHANGELOG.md) says what changed.

## Sending a fix back to your CRM

Sift fixes a copy. The changes file is how the fix gets back to where the data
lives: one row per change, with the record ID (`row_id_field` in the rules
file), the field, the old value and the new one. Import it with your CRM's
update import, matched on the record ID. If your agent is connected to the
CRM, it can push the same rows through that connection instead. Then export
the records again and run `sift_check_landed` to see that every change
arrived.

Import the changes file as it is. Opening it in Excel first can turn `+44`
numbers into formulas.

## Fixes in this version

The named fixes are phone, email, postcode, company_name, mark_duplicates,
status and fill_id. The fixes for any column are trim, case, map_values,
number, date_format, strip_currency, set_if and blank_to. Each is described
above, and all follow the same pattern: a dry run, a receipt, an exact undo.

## Updates and feedback

Sift doesn't ask who you are, so I only hear how it's used if you tell me.

- **Follow releases.** On [GitHub](https://github.com/heyifebuilds/sift), choose Watch, then Custom, then
  Releases. Each release is also posted in Announcements.
  Or add the [release feed](https://github.com/heyifebuilds/sift/releases.atom) to an RSS reader. Read the
  changelog before you move your pin.
- **Tell me how you use it.** Post in [Show and tell](https://github.com/heyifebuilds/sift/discussions/categories/show-and-tell) on
  GitHub, which is public, or [message me on LinkedIn](https://www.linkedin.com/in/michael-ukaegbu/), which isn't. Describe
  what you do; never paste customer data.
