SIG-REG-PL
ZAYAZ Signal Registry & Signal Classification Pipeline Architecture
Overview
This document describes the current architecture of the ZAYAZ Signal Registry System (SSSR) and its supporting Signal Classification Pipeline.
The system is designed to:
- Transform raw schemas (e.g., SQL DDL) into structured signal intelligence
- Enable deterministic + AI-assisted classification
- Support any complex data platform, not limited to ESG
- Provide full traceability from source → signal → CSI
1. Architecture Layers
1.1 Ingestion Layer
Purpose: Convert source schemas into structured signal rows.
Tables
codex_signal_registry_working
Description
- Central working table for all extracted signals
- One row per column from source tables
- Acts as the backbone of the entire pipeline
1.2 Signal Classification Pipeline
Purpose: Enrich signals through staged classification.
Each stage writes to its own results table with full traceability via run_id.
Stages
Stage 1: Datatype Normalization
- Table:
codex_datatype_results - Output:
cleaned_data_type
Stage 2: Module Classification
- Table:
codex_module_results - Output:
module_code
Stage 3: CSI KIND Classification
- Table:
codex_kind_results - Output:
kind(CSI KIND)
Note: This is CSI KIND, distinct from other KIND concepts (e.g., CMI KIND).
Stage 4: Signal Naming
- Table:
codex_signal_name_results - Output:
signal_name
Stage 5: Validation & CSI Preparation
-
Table:
codex_validator_results -
Output:
pre_version_keyis_validsuggested_csi_pattern
Run Tracking
- Table:
codex_automation_runs
1.3 Derived Views
v_codex_signal_registry_latest
- Combines working table + latest results from all stages
- Represents the current "best state" of each signal
v_codex_signal_registry_review_queue
- Filters signals requiring manual review
- Driven by confidence thresholds and validation flags
v_codex_signal_registry_export_ready
- Final curated dataset
- Ready for promotion to SSSR / CSI
2. Component & Module Architecture
2.1 Component Registry
documented_component_registry
- Source of truth for all ZAYAZ components
- Derived from documentation (MDX frontmatter)
Key fields:
component_idcomponent_titlemd_document_linkmodule_code(primary association)
2.2 Module Registry
module_registry
Canonical modules (examples):
- inpt (Input Hub)
- comp (Computation Hub)
- repo (Reports & Insights)
- siss (Signal Intelligence System)
- zara
- zaam
- risk
- netz
- vera
- seel
- acad
2.3 Module Alias Layer
module_alias_registry
Purpose: Map documentation/frontmatter identifiers to canonical module codes.
Example:
computation-hub→compsis→siss
This decouples:
- Documentation vocabulary
- System-level canonical codes
2.4 Component ↔ Module Mapping
component_module_map
Purpose: Resolve component-to-module relationships.
Supports:
- Multi-module components
- Canonical mapping
- Frontmatter preservation
Key fields:
primary_module_codemodule_codes[]omr_module_ids[]
component_omr_module_map
Purpose: Fully normalized many-to-many mapping.
- One row per (component, module alias)
- Used for traceability and validation
component_module_map_staging
- Raw ingestion from documentation exports
- Never used directly in production logic
3. Lookup & Classification Systems
3.1 Table Prefix Registry
table_prefix_registry
Defines dataset semantics:
Examples:
ref_→ Reference datafact_→ Eventsdim_→ Dimensionsagg_→ Metrics
Also provides:
primary_kind_hintsecondary_kind_hints
Used directly by classification pipeline.
3.2 CSI KIND Registry
kind_registry
Defines CSI semantic categories:
- INPUT
- OUTPUT
- SIGNAL
- SCHEMA
- CONFIG
- FEATURE
- METRIC
- EVENT
- VIEW
Note: This registry governs CSI KIND, not CMI KIND.
3.3 Table Registry
table_registry
Purpose: Central registry of all datasets/tables used across the ZAYAZ platform.
Stores:
- Dataset definitions
- Storage configuration
- Governance metadata
- Documentation links
This table acts as a foundational metadata layer and is actively used by other systems, including:
- Signal registry (SSSR)
- Classification pipeline
- Documentation system
It provides table-level context that is picked up and reused by the signal registry, ensuring consistency between:
- Physical data structures
- Signal definitions
- Documentation links
This table is the bridge between:
- Physical data
- Signal registry
- Documentation
3.4 Signal Registry (SSSR) Model
Definition
The Signal Registry System (SSSR) is the canonical layer for representing structured signals derived from source datasets.
A signal is defined as:
A semantically enriched, uniquely identifiable representation of a data field, including its context, meaning, and classification within the ZAYAZ system.
Signal vs Related Concepts
| Concept | Description |
|---|---|
| Column | Physical field in a dataset (raw schema level) |
| Signal | Enriched representation of a column with semantic meaning |
| CSI | Standardized identity for a signal across systems |
| Metric | Aggregated or computed signal |
Signal Lifecycle
-
Source Column
- Extracted from schema (DDL / API / dataset)
-
Working Signal
- Stored in
codex_signal_registry_working - Contains raw metadata
- Stored in
-
Classified Signal
-
Enriched through pipeline stages:
- datatype
- module
- CSI KIND
- naming
- validation
-
-
Validated Signal (Pre-CSI)
- Assigned
pre_version_key - Checked for uniqueness and consistency
- Assigned
-
CSI Signal
- Promoted to canonical identity layer
- Versioned and governed
Relationship to Other Systems
table_registry
- Provides dataset-level metadata
- Defines context for signals
- Signals inherit semantic meaning from their parent dataset
Component & Module System
- Signals are linked to components via
component_name - Modules are resolved via
component_module_map - Enables system-level grouping and governance