Estate
Intelligence overview (?tab=resolve) shows what the tenant's registered sources actually contain:
- how their datasets group into data domains;
- how the sources are used;
- whether what a source declares about itself agrees with what its data shows.
It reuses FACE's estate engine (connect, graph, access).
Warning: Estate is the one place Runink TIDDE dials a tenant source. The only other dialer is the admin-only connectorsync probe,
POST /api/connectors/status/refresh, which covers the connectors TIDDE publishes and never touches registry records. The agents (datagov included) andtide connection registerdial nothing.
The service
The page is the shared estate component (runink.ui.estate.v1.EstateService). Its read RPCs are ListSources, GetSourceDescription, GetAccessPatterns, GetEstateMap and GetReconciliation. Its dialing RPCs, TestSource, ExploreSource, ReadAccessPatterns and MapEstate, are admin-write.
Reads never dial
The read RPCs answer from what the last dialing action committed. Nothing dials on a read, a timer or a page load. A test fails the engine if a read calls it.
The page re-reads GetEstateMap every 5 seconds only while a map run is RUNNING and the tab is on screen.
The four dialing actions
Each is admin-write (the Intelligence-admin list). Each is audited with the outcome, including refusals, and each sits behind a confirm dialog on the page that states what it dials and what it keeps.
| Action | Audit action | Budget | What it does |
|---|---|---|---|
TestSource |
estate.test |
20 s | Checks that the source answers with its credentials |
ExploreSource |
estate.explore |
90 s | Reads the catalogue: datasets, columns, types, declared keys, view dependencies, and profile statistics where the engine has them |
ReadAccessPatterns |
estate.access |
90 s | Reads the source's own access views over a window of window_days 1..90 |
MapEstate |
estate.map |
15 min per run, 30 s per source | Builds the estate domain map across sources. It returns at once and runs in the background, one run in flight per console |
A second map while one is running is refused: map run … started by … at … is still in flight; one run at a time.
Credentials are opened with the registry's audited Credentials read for one engine call and then dropped. They are never stored, returned on the wire, logged or handed to an agent. Engine errors are scrubbed (resScrub) before they are recorded.
Choosing the runner
Every action first decides the effective runner (resEffectiveRunner) from the request's optional runner field:
runner on the request |
Effective runner |
|---|---|
| absent (empty) | The connection's binding. An empty binding means console |
console |
Runink managed, explicitly, even for a connection bound to a self-hosted runner |
| a runner name | That registered runner |
A name must be a DNS label or console. Anything else gets runner … is not a runner name (a DNS label, or "console" for the Runink managed runner).
console dials in-process. The runner registry is not even read. Actions run on console; a choice of any other runner is refused. No bundle is opened, the engine is not called, and there is no fallback to another runner. The refusal names the state it found:
| State found | Outcome | What the detail says |
|---|---|---|
| Not registered | runner_unknown |
Add that runner, or choose console |
| Revoked | runner_revoked |
Who revoked it and when |
| Pending (not enrolled yet) | runner_offline |
The runner is not yet set up |
| Active, not connected | runner_offline |
TIDDE has no live connection to its address |
| Active and connected | runner_offline |
"connected; …". This never claims the runner is down |
| Registry unreadable | failed |
"runner registry unavailable". Never runner_unknown |
In a map run, the runner routes every source, and a refused source becomes a gap in the map. The effective runner, and whether it came from the action or the binding, is recorded in the audit detail and in ActionRecord.runner. Runners themselves are managed on Settings › Integrations › Runners.
The values boundary
The estate adapter is the boundary where values stop. It copies structure and counts field by field into record types that have no field for a cell, MIN/MAX, a sample row, a principal name or a credential. Tests guard this boundary.
| Kept | Never kept |
|---|---|
| Datasets, columns, types, nullability, declared keys | Sampled values, sample rows |
| Row counts, NULL counts, DISTINCT counts (with their basis) | MIN / MAX / mean (a customer cell) |
| Access counts: reads, writes, distinct principals | Principal names |
| Outcome, time and actor of each action | Credentials |
Explore profiling limits. Where the engine supports statistics, Explore computes per-column aggregates over at most 25 datasets (resMaxStatDatasets). Only DISTINCT and NULL counts cross the boundary. Explore also keeps the statistics pass's counted row count.
No confidence number. Domains carry an evidence class (declared, measured or weak) and every edge carries an evidence kind. A GUESS edge is drawn dotted in the warning tone and is never styled like a declared key.
Storage
The documents are kept in the console's own encrypted store:
| Document | Contents | Budget |
|---|---|---|
var/lib/estate |
Per-source last action, access counts, map runs | 512 KiB |
var/lib/estate-map |
The last committed map | 768 KiB |
var/lib/estate-desc-<h> |
One source's last Explore, with h = sha256(id)[:16] |
768 KiB |
What Estate records as data lineage
When an Explore, ReadAccessPatterns or MapEstate commits, the console records what it observed as data lineage. This happens in process: there is no HTTP hop and no ingest token. The edges go into the same observed-lineage store the apps publish into, under the publisher tide-resolve. The app ingest refuses that publisher name from anyone else with a 403.
| Edge kind | Between | From |
|---|---|---|
DECLARED_FOREIGN_KEY |
dataset → dataset | Explore's declared keys, and the map's declared keys |
INFERRED_* placement |
dataset → domain | The map, only for domains whose members come from two or more sources |
OBSERVED_ACCESS |
dataset → principals | Access counts, only where a stated read or write count is above zero |
DECLARED_VIEW_DEPENDENCY |
base → view | The source's own catalogue: Postgres pg_depend, MySQL VIEW_TABLE_USAGE. The Lineage page draws these as "Declared derivations" |
Not recorded: GUESSED_COLUMN_OVERLAP (a guess is not an observation) and catalogue containment.
Each edge carries only qualified names, the kind, counts and provenance. It carries no constraint or column name, no detail text and no admin identity.
Edges are deduplicated source→destination. Each commit replaces its own scope's claims (explore:<id>, access:<id>, map), and claims expire after 30 days. The estate lineage key is capped at 256 edges / 512 KiB, and the weakest edges are dropped first and counted.
Refusals you will see
- On a console with no sign-in:
this console has no sign-in configured, so dialing a tenant source would be unattributable — set the Google sign-in client or the break-glass password before testing, exploring or mapping sources. - On the page, the first
PermissionDenieddisables every dial and shows the console's reason. AFailedPreconditionorInvalidArgumentis drawn verbatim and gates nothing else.
More in Troubleshooting.