{% extends "base.html" %} {% from "includes/twin_verdict_banner.html" import twin_css, verdict_js %} {% block title %}Data Lineage Twin — {{ design.name }} — ICDEV™{% endblock %} {% block extra_css %}{{ twin_css() }}{% endblock %} {% block content %}
← Data Canvas

Data Lineage Twin — {{ design.name }}

Schema drift detection, lineage coverage scoring, and what-if impact analysis for data pipeline changes.

1. Lineage Snapshot

{% if snapshots %}
    {% for s in snapshots %}
  • {{ s.label }} {{ s.table_count }} tables · {{ s.edge_count }} lineage edges · {{ s.created_at[:10] if s.created_at else '—' }}
  • {% endfor %}
{% else %}

No snapshots yet — take one below.

{% endif %}

Captures the current table schema graph and lineage edges as a baseline.

2. Schema Change (What-If)

Paste a JSON array of schema changes, or use the tools below to generate one automatically.

Loads current schema context for AI chat
{% with chat_hint="Describe the schema change in plain English — AI generates the impact analysis JSON.", chat_placeholder="e.g. Add a fulfillment timestamp to orders, rename the qty column in order_items to quantity..." %} {% include "includes/_twin_chat_panel.html" %} {% endwith %}
Run an impact analysis to see schema drift and lineage coverage here.

Data Quality Gate

Evaluate data quality rules against the proposed schema change — null constraints, referential integrity, CUI boundary crossings.

{{ verdict_js() }} {% with chat_api_prefix="data" %} {% include "includes/_twin_chat_script.html" %} {% endwith %} {% endblock %}