Repository navigation
Description
Product stack rank 3 of 37 · roadmap #1008 · priority P0 · release mvp
Customer outcome
Any supported customer dataset can receive JSON records and files through a documented, reliable API, then reach a deduplication result. This is core product work and has no AppExchange prerequisite.
Existing foundation
POST .../records/ingest, POST .../imports, import receipts, source mapping, the S3 cursor and the execution path already exist. This epic makes their external contract complete; it does not start a second ingestion engine.
Implementation work
- Pin accepted deliveries to immutable inputs before queued ingestion #1002 — immutable accepted inputs before queued ingestion (existing claimed work; preserve its PR).
- API: durable JSON and file delivery with receipts and replay semantics #1011 — durable JSON/file delivery, validation, receipts and replay semantics.
- API: resumable bulk file transfer through staged object storage #1012 — bulk staged transfer above the inline upload ceiling, with finalize/resume/cleanup.
Completion
- API: self-service dataset configuration and source mapping #1010 configuration and Epic: customer-facing OpenAPI contract, visibility, API keys and docs #857 public operations/keys allow a customer to submit without an operator-managed drop path.
- Errors, limits, update/deletion/full-refresh modes, config identity and retry behavior are explicit and tested.
- API launch proof: configure, ingest, dedupe and retrieve results without Salesforce #1013 proves both inline paths and result retrieval end to end; API: resumable bulk file transfer through staged object storage #1012 separately proves the bulk path before this entire epic is closed.
SFTP ingress #1014 reuses this contract and is separately ranked expansion. The parent estimate is cleared; size children after their gap audits and do not add a second parent total.
Historical planning — superseded scope, ordering and estimates
Epic E13 from the DataGroomr Feature Parity Spec · spec phase 2 · historical parity rank 13 of 30
| Spec units | 3.1-3.24 |
| Spec size (greenfield) | 12 eng-weeks |
| Our coverage today | ~55% |
| Estimated remaining | 5.5 eng-weeks (54% saved by what exists) |
| Owning component | DuckDB read_csv_auto, S3/SFTP pullers, mapping UI, Data Integrity checks, Ingestion API |
| Release | post-appexchange |
What we already have
er-ingest, ingest_batch, s3_ingest_cursor, the /sources and /sources/new screens, a suggest-mapping BFF route, and custom-source work merged earlier.
What is missing
SFTP pulling, the Data Integrity check suite, and a public Ingestion API.
Coverage and remaining-weeks figures are an estimate made by reading this repo against the spec on 2026-11-05, not numbers from the spec itself — the spec sizes everything as greenfield. Treat them as a planning input, not a commitment. Spec unit numbers (e.g. 1.6-1.12) refer to the pillar tables in the linked document.
Product context (2026-11-26)
Why this matters for the API product: this is the ingest step. A customer cannot reach any result without it.
Current state: all three implementation children and all three completion children are closed. The capabilities on main:
| Capability | On main |
|---|---|
| JSON push | POST …/records/ingest, up to 10,000 records per push |
| File import | POST …/imports, up to the 256 MiB import cap |
| Retry/replay | Idempotency-Key returns the original receipt (#1267). A different payload under the same key gets 409. |
| Mode | upsert only. full_refresh is refused by name with 422 (#1267). |
| Bulk transfer | POST/PUT/GET/DELETE …/uploads… and …/complete: 64 MiB parts, 10,000 parts, 24 h session (#1270) |
| Receipts | GET …/imports, …/imports/recent, …/jobs/{id} |
| Deletion | records/delete and records/undelete |
| Config identity | every run records its config_hash (RunItem.config_hash) |
| End-to-end proof | pg_launch_proof covers inline and bulk delivery through to results (#1273) |
What is missing: openapi.public.json declares zero header parameters. It lists only 2XX and default responses for all 123 operations, and the ingest description is null. The retry contract, Idempotent-Replayed, and the 409/413/422/503 statuses exist only in rustdoc (er-server/src/lib.rs:9338, :9501) and on the /docs page. A client generated from the contract cannot see them.
Definition of done: as above. Before closing, file one follow-up ticket: "OpenAPI declares request/response headers and the documented error statuses".
Dependencies / sequencing: none open. SFTP (#1014) is pruned.
Size: 0 for this epic. The follow-up is about 1 engineer-week (unverified).
Activity
athvin commentedon Nov 5, 2026
docs/connectors.md§5 specifies two baseline connectors that "fall out of the generic seam with little or no provider-specific work": file upload (the import wizard — upload → profile → column-map → preview → commit, which is the §3.1 drop-dir push seam with a UI) and S3 / object-store drop (point a connection at a bucket prefix, synced on a schedule, no provider API at all).Both are substantially shipped —
.../imports,.../s3-ingest,/sources,suggest-mapping— which is why this epic's coverage is ~55% rather than zero. §5 also notes they serve as the reference implementation of the connector contract for any future connector.[-]E13 — Transfer and import[/-][+]E13 — Public data ingestion and transfer for configurable datasets[/+]