Skip to content

V2 P0: Claim/Evidence data foundations + Neo4j migrations #68

Description

@cursor

Background

V2 Evidence Graph and Reliability Gate need Claim/Evidence entities. DecisionEvent remains the atomic write unit today.

Problem Statement

No Claim/Evidence Pydantic models, temporal lifecycle fields, or graph schema for claims/evidence.

Proposed Solution

  • Add models: Claim, Evidence, ReliabilityDecision (+ temporal fields)
  • Neo4j migrations V010+: Claim/Evidence nodes; SUPPORTS / CONTRADICTS / ASSERTS
  • Adapter: DecisionEvent → Claim without breaking existing writes
  • Feature flag: CORTEX_EVIDENCE_GRAPH

Acceptance Criteria

  • Models + migrations + migrate runner tests
  • Backward-compatible Decision writes still work with flag off
  • Documented in CURRENT_STATE / DECISIONS ADR

Depends on

Phase 0 audit (#67 if created)

Plan ref

todo data-foundations

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