Skip to content

Asset hierarchy

Real-world assets nest. A house contains a fridge. A cottage contains an HVAC unit. A boat has a trailer. A swimming pool has a pump and a heater. Domi represents this as a parent-child link on the asset itself — a container relationship.

Every asset can optionally point at one container asset. That’s the “in” relationship: the contained asset is in the container. Examples:

Tamias home (residence)
├── HVAC unit (appliance, container = Tamias home)
│ └── Filter (appliance, container = HVAC unit)
├── Hot water tank (appliance, container = Tamias home)
├── Swimming pool (swimming_pool, container = Tamias home)
│ └── Pool heater (appliance, container = swimming pool)
└── Robot vacuum (appliance, container = Tamias home)

Depth is unlimited at the data layer (the recursive query caps at 20 levels — well past anything a real household would need). Most households top out at 2 levels.

Domi gives every asset a level — its depth in the containment tree, counting from the top:

  • Level 1 — the asset isn’t inside anything else. Your standalone things: residences, vehicles, boats. These are the assets Domi leads with in summary views.
  • Level 2 — directly inside a Level-1 asset. The pool attached to a residence; the fridge in the house.
  • Level 3 — inside a Level-2 asset. The thermopompe or the water-filtration system attached to that pool; the water filter inside that fridge.
  • Level 4 and beyond — and so on, as deep as your equipment actually nests (the data layer caps at 20 for safety).

You never set the level directly — it follows the container links. Put a thermopompe inside a pool that’s inside a residence and it’s automatically Level 3; move it out and its level drops accordingly.

Wherever Domi shows a short, top-level overview of “your assets,” it shows Level-1 assets only, ordered largest first — residences, then vehicles, then boats, then everything else (alphabetical within each group) — with the deeper levels nested and indented underneath. Detail pages and the container picker always show the full tree, so you can always reach and re-nest a deeper asset.

Three ways to set it:

Tell Domi where it lives in conversation:

“The HVAC unit is in the Tamias house.”

“Add a fridge in the kitchen of Gleneagles.”

Domi reads the “in X” or “of X” phrasing, stamps containerAssetName: "Tamias" on the propose card, and resolves the name to an existing asset at confirm time. If the container can’t be resolved (no such asset, or two assets share the name), the new asset is still created — just without the container link. You can wire it manually after.

See Add an asset for the per-asset upload flow.

Open any asset at /assets/<id>. The detail panel has a Contained in field — pick from the list of top-level assets to set it, or clear it to make the asset itself top-level.

Domi rejects any move that would create a cycle (A contains B, then trying to move A into B). You’d hit a “would create a cycle” error before the move is written; no phantom audit row gets emitted.

Where the hierarchy shows up across the product

Section titled “Where the hierarchy shows up across the product”

The detail page renders a breadcrumb across the top: Tamias home › HVAC unit › Filter. Click any ancestor to jump to it. Archived ancestors still render (so a “Cottage (sold) › Old hot tub” breadcrumb still makes sense).

The graph view (/graph) draws container edges as a distinct edge style, so you can visually see which assets nest inside which.

The big win. When you filter the Tasks page by Asset: Tamias home, the result includes every task on the house and every task on contained assets (HVAC, hot water tank, pool, robot vacuum, filter — all of them). One click filters the whole house’s task footprint.

Behind the scenes: Domi resolves the picked top-level asset to its descendant set via a recursive CTE, then filters tasks by asset_id IN (<descendant set>). The filter chip only lists Level-1 assets (those without a container), largest first, so the list stays short even with deep trees.

Type /list assets in chat and Domi prints your assets as an indented tree — Level-1 assets first (residences, then vehicles, then boats, then the rest), with every contained asset nested and indented underneath at its true depth (pool under the house, thermopompe under the pool), and a “— N components” count on each Level-1 line totalling everything inside it. It’s the fastest way to eyeball the whole household at a glance.

When you upload a document from the detail page of a parent asset, the document links to that asset specifically, not to children. If you want to attach a fridge manual to the kitchen fridge specifically (not to the whole house), upload from the fridge’s detail page — not from the house’s.

  • It doesn’t share custodians automatically. If JF owns the house, the HVAC inside doesn’t automatically inherit JF as custodian — you set custodians per-asset. Cleanest for shared appliances where ownership and care responsibility might differ.
  • It doesn’t share categories or attributes. Each asset has its own schema-driven attributes (vehicle attributes for vehicles, appliance attributes for appliances).
  • It doesn’t restrict editing. A future graph permission model might add “you can edit X only if you can edit its container” — today it stays open: any custodian of any asset in the household can edit it.

This workflow is supported. Container links, recursive descendant resolution, cycle prevention, and the task subtree filter shipped in Sprint 25 (#374, #375). The depth-based level characterization and the indented /list assets tree shipped in Sprint 28.

Something the guides don't solve? Write to us from inside Domi:Contact support