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 26015: Mandatory Sync-Guard & Diff Suppression

Title

Implementation of GitOps integrity via Pre-commit synchronization and Git attribute diff suppression.

Status

Proposed

Date

2026-01-30

Context

The adoption of paired .md/.ipynb artifacts introduces a redundancy risk where the two files may diverge if edited in isolation—specifically when using AI assistants like Aider on the Markdown source. Without a formalized enforcement mechanism, the “Single Source of Truth” (SSoT) is compromised, leading to merge conflicts and non-deterministic execution states. Additionally, standardizing on Markdown for code reviews requires the suppression of high-entropy .ipynb JSON noise in the version control history.

Decision

We will enforce repository integrity through a three-tier synchronization and suppression strategy:

  1. Pre-commit Sync Guard (ADR 26002):

  1. **Diff Suppression via .gitattributes**:

  1. Automated AI Linting:

Consequences

Positive

Negative

Alternatives

References

Participants

  1. Vadim Rudakov

  2. Gemini (AI Thought Partner)


Next Step: Would you like me to generate the exact .aider.conf.yml and CONVENTIONS.md content required to implement the “AI-Assisted Workflow” section of this ADR?