sx-git Phase 3: commit DAG — log/ancestry/merge-base SX-side + Datalog bridge (TDD)

Topo log = reverse DFS postorder over parent edges from commit objects;
reflexive is-ancestor?, all-LCA merge-bases (criss-cross verified). Datalog
bridge exports (git-parent child parent) facts under a minimal 2-rule
ancestor closure, cross-checked against the SX walk. 30/30, total 106/106.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 12:07:06 +00:00
parent 74c2521926
commit eda6806989
5 changed files with 370 additions and 5 deletions

View File

@@ -6,4 +6,5 @@ _Generated by `lib/git/conformance.sh`_
|-------|-----:|-----:|------:|
| object | 38 | 0 | 38 |
| ref | 38 | 0 | 38 |
| **Total** | **76** | **0** | **76** |
| dag | 30 | 0 | 30 |
| **Total** | **106** | **0** | **106** |