﻿# Metaxy record-level lineage: selective updates need declared dependencies

Metaxy separates per-record field provenance from payload storage. Read manual code versions, content overrides and the actual metadata-only benchmark boundary.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/metaxy-record-field-lineage-provenance-content-version/
Language: en

Metaxy makes incremental recomputation a question about individual records and declared logical fields. The useful distinction is between deciding which outputs are stale and proving what an output contains. Its provenance hashes help with the former; they do not automatically replace payload identity, dependency review or successful computation.

## Locate the metadata layer

The [JOSS publication record](https://joss.theoj.org/papers/10.21105/joss.10449) dates publication to June 17, 2026. The [project repository](https://github.com/anam-org/metaxy) describes a metadata layer with the underlying data typically stored elsewhere. Compute and orchestration remain separate responsibilities rather than becoming services automatically supplied by a lineage record.

For a document-processing pipeline, retain the original file and derived artifacts in their own storage. Metadata can identify their locations and processing versions, but a surviving metadata entry does not guarantee that the referenced object still exists or that a failed computation produced a usable output.

## Declare logical fields at the right granularity

The [feature-definition guide](https://docs.metaxy.io/main/guide/concepts/definitions/features/) distinguishes logical data fields from database metadata columns. A field represents a part of the data whose dependency relationship matters; it need not correspond directly to a serialized column. Identifier columns establish sample identity.

Consider an illustrative pipeline producing OCR text and image thumbnails from the same document. Changing text normalization should invalidate downstream text embeddings while leaving thumbnails reusable, provided the dependencies actually separate those operations. If a downstream step also reads an undeclared image field, the graph no longer describes its true inputs. Precise invalidation therefore depends on truthful definitions, not merely on the presence of hashing.

## Separate provenance signatures from content versions

The [versioning documentation](https://docs.metaxy.io/main/guide/concepts/versioning/) states that developers supply field code versions. Derived versions propagate through declared upstream relationships. This is not automatic semantic analysis of every code change. A behavior-changing edit needs an appropriate version update even when a filename remains unchanged.

The same guide allows data-version overrides after computation, including content-derived values. Expected provenance can be calculated before an output exists; content identity cannot. A stable provenance signature therefore means the declared computational inputs are unchanged, rather than independently establishing byte-for-byte equality of an unavailable payload.

## Read the benchmark as metadata work

The [paper's performance section](https://docs.metaxy.io/main/publications/2026-introducing-metaxy/paper/) measures resolve_update on DuckDB, using simple and wider dependency graphs with 10% of upstream audio provenance changed. It reports 10 rounds per cell on an Apple M2 Max with 64 GiB RAM and a fresh database file each round.

That experiment measures hashing and update-set resolution, not the duration of an OCR model, transcription model or complete GPU pipeline. Its interquartile ranges describe the observed middle spread; they should not be renamed confidence intervals. Application savings additionally depend on which expensive operations the selected update set avoids.

## Validate selective updates against complete recomputation

A local acceptance test should compare the resulting artifacts after a controlled field change with a complete recomputation under the same definitions. Check both missed updates and unnecessary updates. Retain graph revision, source objects and successful output identities together.

[Workflow freshness versus immutable inputs](/journal/fg2-snakemake-ancient-input-not-immutable-model-reference/) explains the identity boundary. [Document provenance](/journal/document-markdown-json-provenance/) explains why reconstructing the original evidence still matters after selective processing.
