Home / Projects / Orchestrata Ultimate / Decisions / ADR index / ADR-0104

ADR-0104: Git worktrees are not graph projects — orchkg holds one current, provenance-stamped copy per codebase

field value
Status Accepted — Accepted — 2026-10-16, Mohamed: "do the cleanup now" (accepting recommendation D-1 of
Date 2026-10-16
Register factory (docs/adr, 4-digit ids)
Source docs/adr/0104-worktrees-are-not-graph-projects.md — recorded on branch architecture/domain-model at 1061f2d0a, not yet on master
Wiki register entry ADR-0104 (wiki status: Accepted)

← ADR-0103 · ADR-0105 →

The record

Context

Measured 2026-10-16 on the test-fleet orchkg:

Every code query therefore had to filter by project or get seven answers. Workers could not use graph context for the code they were changing, and fell back to reading files.

Decision (Mohamed, 2026-10-16: "do the cleanup now")

A git worktree is not ingested into orchkg as its own code project. The graph holds one current copy per codebase:

Each Project node records root_path, commit and synced_at. Branch-local structure is served per worktree by that worktree's AST daemon, not by the shared graph.

Alternatives rejected

Consequences

Provenance

Rulings cited

None.

Specs cited

None (or no spec page exists for the ones named).