Repository navigation
Description
Product stack rank 13 of 37 · roadmap #1008 · priority P2 · release post-mvp
Outcome
Broaden the supported resolution models so customer dataset configuration is constrained by documented capabilities rather than Salesforce object names.
The old claim that organization/account support is entirely absent is stale: er-config has an entity-type discriminator and account canonical attributes, and account-specific pipeline code/tests exist. This is evidence of implementation, not proof that every API/UI/model path supports arbitrary schemas.
- Audit person/account coverage through configuration, ingest, standardization, matching, reconciliation, golden output, online resolve and API/UI rendering; link concrete remaining gaps.
- Reconcile known issues The account score scale: decide it, and know that no constant alone fixes it #663, er doctor reports ok=false for a healthy account lake — it probes only the person relations #664 and acct_base and acct_test declare one comparison while the account model has four #671 before proposing another account model implementation.
- Publish a supported-model capability matrix and reject unsupported mappings in API: self-service dataset configuration and source mapping #1010.
- Define the next model/generalization increment from customer datasets and explicit matching/survivorship requirements, with executable examples and lineage expectations.
No assumption that arbitrary custom fields imply arbitrary entity schemas. Not a prerequisite for launching the API on supported models. Old estimate cleared pending this audit.
Historical planning — superseded scope, ordering and estimates
Open work found in backend-design.md §13 · release post-appexchange · estimate 8.0 eng-weeks
Blocks Salesforce Account and all custom objects. connectors.md §4.1 says Account is second and explicitly blocked on this.
How this was verified
The engine's schema is person-shaped; connectors.md names the dependency directly.
Coverage, sizing and status were verified against this repo on 2026-11-05, not taken from the doc's checkbox — several docs/ checkboxes are stale in the direction of understating what is built.
Product context (2026-11-26)
Why this matters for the API product: this is the configure step. It sets the boundary of the datasets a customer can define. Its current stated purpose, getting past Salesforce object names, no longer applies now that Salesforce is pruned. The rationale is now "which entity schemas the API promises".
Current state:
- Checkbox 3 is partly done. feat(api): tenant-admin dataset configuration — validate, dataset-scoped publish (#1010) #1266 (API: self-service dataset configuration and source mapping #1010) fixes the entity type when the dataset is created. It refuses a config of the other type and reports unknown mapping attributes before a version exists. The
/docspage publishes the boundary: people or accounts through the canonical attributes, no arbitrary schemas (docs/page.tsx:311-314).api-contract/references/launch-readiness.mdnames this ticket as the owner of generalization. - The canonical attribute set is
er-config/src/lib.rs:293(canonical_attributes). - A gap found: online resolve reads only the person relation
int_std_records(er-cli/src/lib.rs:440), notacct_int_std_record. The account path through/resolveis therefore unsupported (see E20 — Public duplicate-check and record-resolution API #529). - Account issues The account score scale: decide it, and know that no constant alone fixes it #663, er doctor reports ok=false for a healthy account lake — it probes only the person relations #664 and acct_base and acct_test declare one comparison while the account model has four #671 are all still open.
- The rule surface is inventoried in
er-matching/references/customer-rules.md(E7 — Advanced customer-authored matching and survivorship rules #515, closed). Use it as the matching and survivorship input for checkbox 4.
Definition of done: checkbox 1 should produce a matrix covering config, ingest, standardize, match, reconcile, golden, resolve, exports and reads, for person × account. Each red cell gets a linked ticket. Drop "UI rendering" from that audit, because the UI is pruned.
Dependencies / sequencing: #663, #671 and #664 come first. #529 depends on the account result.
Open product decision: is a third model, or arbitrary schemas, wanted before customer evidence exists? If not, this ticket ends at the audit and matrix.
Size: about 1 engineer-week for the audit and matrix. Generalization stays unsized until a customer requires it.
Activity
[-]Entity-type generalization — organization entity[/-][+]Resolution model breadth: audit person/account support and generalize from customer requirements[/+]docs(api): the person × account support matrix, each red cell a ticket (
test: the account arms of incremental match, correction, profile and …