Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ADR 26014: Semantic Notebook Pairing Strategy

Title

Adoption of Jupytext Paired .md/.ipynb Artifacts for AI-Ready Version Control.

Status

Accepted

Date

2026-01-30

Context

Standard .ipynb files are massive JSON objects containing metadata, execution counts, and binary-encoded images that make code reviews difficult. These files are “toxic” for Git diffs and consume excessive tokens when processed by Small Language Models (SLM) or LLM assistants like Aider. We require a methodology that satisfies industrial-grade MLOps criteria while operating under the constraints of CPU/RAM-limited local stacks. The goal is to adhere to the Simplest Viable Architecture (SVA) by providing high-fidelity Markdown inputs for AI assistants while preserving the execution state in notebooks.

Decision

We will implement semantic notebook versioning by pairing every .ipynb file with a MyST Markdown (.md) equivalent using Jupytext.

Consequences

Positive

Negative

Alternatives

Standard .ipynb Versioning

Plain Python (.py) Percent Format

References

Participants

  1. Vadim Rudakov

  2. Senior AI Systems Architect (Gemini)