Matching, review and corrections
How new source rows are linked to the referential, rules first and the model after; how to settle the rows to review; and how to correct values and merge two entities by asking in the thread.
A source table keeps gaining rows: tomorrow's NAV, next month's statement. The referential links them when you ask, in the thread: @Referential Manager link the new positions to the referential.
The matching cascade
New rows are linked one relationship at a time (a source table to a type, by its link column), in two steps:
- The saved rules, by code, most certain first. Follow a link the row already has; then what must be equal (an identifier, a code, the name under its parent); then, if the link keeps one, a similar name above a score. A row a rule settles is linked by rule. These are the rules you read on the link in the Map.
- The reading of the rows left. The agent reads only the rows with no Referential status yet. Each entity a row names is joined to one the referential keeps, judged by the model against the close ones, or added as new.
Neither step decides again a row the reading linked or a person settled.
Before a run, the agent plans: per relationship, the rules it would run and the evidence for them, tried on a sample. It runs once you approve, then reports per relationship the rows the rules linked, pass by pass, what the reading did with the rest, and what is left to review.
A type a table names in several columns (a fund's management company, depositary and auditor are all organizations) has no saved rules: the Map says Named in Management company, Depositary, Auditor: the reading links each, with no saved rules. The reading links an entity for each column.
Settle the rows to review
What the model cannot tell is not made. The reading opens a request in the thread, one per relationship, listing the rows to review. For each row, pick its entity among the candidates the model weighed, Add it as a new entity under the name it proposes, or Leave unlinked. Then Settle the row, or settle every row left at once with Settle all.
You can also settle a row from Data: open its Referential receipt and click Open its request on the line to review.
A row whose entity waits for its parent (a new instrument under a sub-fund the model cannot tell) is asked about only once that parent is settled and the new rows are linked again.
Correct what was read
Read the entities once they are in, and ask for changes in the same thread. They are expected, and the Referential Manager makes them itself: never a workflow, never another agent.
- A value in the wrong column: "the ones without a name have their code in Name".
- A value read wrong: "Cash rec is not accurate".
- A disagreement settled the other way: "take Sheet2's".
- How entities are shown: "show the instruments by ISIN and maturity". The table's Reference display setting in Data changes it too.
The agent reads the records first, then says the change as one list per record: its name, the column, the value now and the new one. When your words name the change, it makes it; when they leave the right value open, it first asks which source or rule gives it. One value on many records goes through an approval card before it is written.
Merge two entities that are one
Say which two: Contoso Holdings Class A and Contoso Hldgs Cl A are the same, merge them. A message naming both and asking for the merge is your yes. The agent says the whole merge in one message, then makes it:
- The entity kept is the one you name, else the one more rows link to. It takes the other's values for its own empty cells.
- Every source row linked to the other is moved to the one kept, its other links left as they are.
- Records under the other (a share class under a sub-fund) get the kept one as parent.
- Last, the other is archived, on an approval card.
If anything stops it partway, the agent says which rows moved and what is left, and you decide whether to finish or move them back.
The Referential Manager changes nothing outside the referential: its tables, their values, how their entities are shown, its sources' links and its matching rules. It never changes a value in a source table. Enriching records and reconciling are for Spark.