data2dsl

Ticket 004: Define data comparison contract v0

Goal and scope

Define the smallest local, experimental data2dsl comparison contract v0 for the golden case: compare a work-summary.md claim with GitHub activity for the same repository, actor, metric and half-open UTC time window.

The contract must compose the existing wellmanifest/dsl query, observation and result profiles by immutable reference. It adds only data2dsl-owned domain semantics: canonical scalar/set values, evidence locators, comparability, outcomes and typed deltas. It remains descriptive and effect-free.

Out of scope: changing subactor/twin, wellmanifest/dsl or another repository; implementing source adapters, GitHub acquisition, an LLM layer or an enforcing runtime; adding a runtime dependency; publishing a stable API.

Acceptance criteria

Result

The experimental contract lives in src/data2dsl_contract_v0. It composes the immutable Wellmanifest query, observation and result profiles, defines a closed data2dsl comparison bundle, and proves all five outcomes plus five negative invariants without accessing a source network or changing another repository.

The contract is integrated on the default branch at 3c747c1b1d79426196fd4bb0b5dc42360d88a066 through GitHub PR 4.

Participants