This directory captures durable architecture decisions for Git Mind.
Use ADRs for decisions that are hard to reverse, cross-cut multiple subsystems, or define platform invariants.
ADR-0002 — Worktree Independence and Materialization Architecture
Status: Accepted Date: 2026-02-15
- Git worktree state is not authoritative for Git Mind graph state.
- Graph truth (WARP causal graph + provenance) is canonical.
- Materialized artifacts are derived outputs, non-canonical by default.
- Context-sensitive operations must be explicit (
asOf, observer, trust). - Generated artifact hygiene requires defense-in-depth (not
.gitignorealone).
Defines the core separation model: worktree-aware, never worktree-bound.
ADR-0003 — Graph-Native Content, Deterministic Materialization, and Workspace Bridge
Status: Accepted Date: 2026-02-15
- “Content-on-node” remains canonical, but editing must be file-native in UX.
SyncAdapterprojected workspace is the default compatibility bridge.FuseAdapteris optional advanced/performance mode.- Graph→editor invalidation/signaling is required infra.
- Writeback is transactional, conflict-aware, deterministic, and receipt-backed.
- Workspace path policy: editable entities vs read-only derived outputs.
Turns the separation model into an adoption-ready product path without breaking architecture laws.
-
From principle to execution:
ADR-0002 defined boundaries; ADR-0003 defines how users actually work within them. -
Editing UX became first-class:
The project now explicitly treats editing ergonomics as a top adoption risk. -
Bridge strategy finalized:
Universal Sync Workspace Mode first, FUSE later for performance. -
Live update correctness added:
Graph subscription + path invalidation are required to prevent stale editor state. -
Writeback semantics hardened:
Base frontier/hash checks + explicit conflict paths + receipts.
Create a new ADR when a decision is:
- hard to reverse,
- architecture-wide,
- policy-defining,
- or likely to be questioned later.
Recommended sections:
- Context
- Decision
- Alternatives considered
- Consequences
- Risks & mitigations
- Acceptance criteria
- Implementation impact
- Proposed: Draft under discussion.
- Accepted: Approved and active.
- Superseded: Replaced by a newer ADR (link both ways).
- Deprecated: No longer applied, retained for historical context.
ADR-0004 — Content Attachments Belong in git-warp
Status: Accepted Date: 2026-02-20
- Content-on-node (CAS-backed blob attachment) is a git-warp responsibility, not git-mind.
- git-warp should install
git-casand expose an API for attaching content-addressed blobs to nodes. - git-mind provides the CLI/UX layer (
content set/show/edit) on top. - This aligns git-warp with Paper I's
(S, α, β)formalism — nodes carryingAtom(p)payloads.
Prevents git-mind from duplicating CRDT, time-travel, observer, and provenance guarantees that already exist in the substrate. Makes the attachment primitive available to any git-warp consumer, not just git-mind.
- Keep ADRs concise but specific.
- Avoid ambiguous wording (“usually”, “maybe”) in core invariants.
- Include explicit consequences and operational impact.
- Link milestone(s), contracts, and tooling gates affected by the decision.