Catalog & Governance

The catalog and governance system is the trust layer of your governed data layer. The catalog enables discovery — finding data products and understanding what they contain. Governance enforces standards — ensuring those products meet quality, compliance, and semantic requirements before your agents rely on them.

The Data Catalog

The catalog is the searchable index of all data products, schemas, and semantic artifacts you've built. It answers the question your agents (and you) keep asking: "What data exists, where does it come from, and can I trust it?"

Catalog Entries

Every published data product automatically gets a catalog entry containing:

  • Metadata — name, description, domain, owner, creation date.
  • Schema — the structural definition of the product's data shape.
  • Quality signals — pass rates for quality rules, freshness metrics.
  • Lineage — upstream sources and downstream consumers.
  • Readiness stage — the current readiness stage (Raw, In Progress, Ready).
  • Governance flags — any compliance or quality warnings.

Discovery

Search the catalog to find data products by keyword, domain, or semantic concept:

{
  "operation": "search_catalog",
  "query": "customer",
  "type": "data_product",
  "domain_id": "<domain-uuid>"
}

The catalog supports multiple discovery patterns:

  • Keyword search — find products by name or description.
  • Domain filtering — scope results to a specific area of your data.
  • Readiness filtering — find Ready products for cross-domain use, or In Progress-or-better for cross-project use within a domain.
  • Tag-based discovery — locate products by classification tags.
  • Semantic search — query by ontology concept for meaning-based discovery.

Lineage and Impact Analysis

Every catalog entry carries lineage information showing how data flows from sources through transformations to consumers. This enables:

  • Forward lineage — "If I change this source schema, which consumers are affected?"
  • Backward lineage — "Where does this field in my consumer product come from?"
  • Impact analysis — assess the blast radius of a proposed change.

Query lineage through loxtep_observe:

{ "operation": "get_lineage_impact", "data_product_id": "<data-product-uuid>" }

Governance Framework

Governance in Loxtep is computational and on by default — standards are defined once and enforced automatically by the platform rather than through manual review processes. This is what lets you expose data to AI agents without hand-checking every field.

Quality Rules

Quality rules define constraints that data products must satisfy. They run automatically during ingestion (for source products) and during materialization (for consumer products):

loxtep quality-rules create --file ./email-format-rule.json

Quality rules support multiple constraint types:

TypeExample
Rangetotal >= 0
Patternemail matches RFC 5322
Uniquenessorder_id is unique
Completenesscustomer_email is not null
Freshnesslast_updated within 24 hours

Governance Flags

The catalog surfaces governance flags that indicate compliance concerns:

  • PII detected — fields tagged x-pii requiring access controls.
  • Stale data — products that have not received updates within their SLA.
  • Missing documentation — products without descriptions or owner information.
  • Schema drift — incoming data that deviates from the declared schema.

Query governance flags for a catalog entry:

{ "operation": "get_governance_flags", "data_product_id": "<data-product-uuid>" }

Marking a Product Ready

Moving a product to Ready — the stage that makes it safe to share across domains — goes through a review step that confirms:

  • Sign-off — confirming a product is ready for cross-domain use.
  • Shared vocabularies — the naming and concepts used are consistent with the rest of your data.
  • Semantic conflicts — resolving mismatched ontology mappings before promotion.
  • Compliance — the product meets any regulatory requirements that apply.

On a small team this is a quick self-review, not a standing committee.

The Semantic Layer

The semantic layer maps field-level meanings to shared vocabularies and ontology concepts. This is what gives your agents consistent, grounded meaning across datasets. It operates alongside the catalog to provide:

  • Vocabulary management — defining and maintaining your controlled terms.
  • Ontology relationships — declaring how concepts relate (e.g., "Customer hasMany Orders").
  • Namespace mappings — translating between domain-specific naming and global ontology terms.
  • Completeness scoring — measuring how fully a domain's data products are semantically annotated.

Query the semantic layer to understand coverage:

{ "operation": "get_semantic_completeness", "domain_id": "<domain-uuid>" }

Vocabulary Packs

Vocabulary packs are curated sets of ontology concepts that teams can adopt. Registering a vocabulary pack makes its concepts available for schema field binding (required to reach Ready).

Sync a vocabulary pack:

{
  "operation": "sync_vocabulary",
  "domain": "commerce",
  "mode": "additive_only",
  "terms": [
    { "canonical_key": "customer", "scheme": "entity", "aliases": [] },
    { "canonical_key": "order", "scheme": "entity", "aliases": [] }
  ]
}

Access Control

Governance includes fine-grained access control — the same controls that decide what an AI agent connected over MCP is allowed to see:

  • Project-level RBAC — control who can create, modify, and deploy within a project.
  • Data product access — control which consumers (including agents) can read a specific product.
  • Catalog visibility — some products may be visible in the catalog but require approval to consume.
  • PII access and field-masking — fields tagged as PII require elevated permissions and can be masked before they reach a consumer.

Compliance and Auditing

The catalog maintains an audit trail of:

  • All changes to data products (schema modifications, quality rule updates).
  • Governance decisions (tier promotions, access grants, policy exceptions).
  • Data access patterns (who queried what, when).

This audit trail supports regulatory compliance requirements (GDPR, SOC2, HIPAA) by providing verifiable evidence of data handling practices.