Skip to content

V6 P5.5: Knowledge Pipeline Validation — Medallion Bronze→Silver→Gold #40

Description

@Aparnap2

Phase: P5.5 | Risk de-risked: R-03, R-09

Context

Inserted between P5 (real LLM) and P6 (entity wiring) to validate the Evidence→Normalize→Knowledge pipeline before wiring 24 entities. If this fails, fix architecture before scaling.

Scope

Validate Medallion-inspired flow:

Connector → Raw Evidence (Bronze) → Canonical Evidence (Silver) → Knowledge Graph (Gold) → Decision Context → Workspace Projection

Tests for: duplicate evidence, out-of-order events, stale updates, conflicting facts, missing foreign keys, partial connector failures, replay after crash, idempotent reprocessing, tenant isolation.

Key requirement

Unify Silver: standardize on knowledge/semantic_layer.py + connector_bridge.py (5-tier data-driven) and retire knowledge/entity_resolver.py hardcoded extraction (Sarah Chen / Mike Liu). Add the missing conflict-detection stage.

Acceptance

  • Bronze/Silver/Gold all persist to real stores (no in-memory fallback).
  • Duplicate/dedup, out-of-order, stale, conflict, missing-FK, partial-failure, replay, idempotency, tenant isolation all tested.
  • Conflict detection is a real stage, not a stub.

Verification

  • uv run pytest tests/v6/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions