Skip to content

Commit 9ced816

Browse files
committed
docs: add TOPOLOGY.md
1 parent 60da91b commit 9ced816

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

TOPOLOGY.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!-- SPDX-License-Identifier: PMPL-1.0-or-later -->
2+
<!-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> -->
3+
4+
# TOPOLOGY.md — git-reticulator
5+
6+
## Purpose
7+
8+
Semantic lattice builder for git repositories written in AffineScript. Constructs dependency graphs and semantic relationships from commit histories, code structure, and metadata to enable advanced repository analysis and visualization.
9+
10+
## Module Map
11+
12+
```
13+
git-reticulator/
14+
├── src/
15+
│ ├── main.as # AffineScript core (compiled to binary)
16+
│ ├── lattice.as # Lattice construction algorithms
17+
│ ├── git_parser.as # Git history parsing
18+
│ └── semantic.as # Semantic relationship inference
19+
├── Cargo.toml # Rust package wrapper
20+
├── build.sh # Build orchestration
21+
└── examples/
22+
└── ... (example repositories)
23+
```
24+
25+
## Data Flow
26+
27+
```
28+
[Git Repository] ──► [History Parser] ──► [Commit Graph] ──► [Semantic Lattice]
29+
30+
[Dependency Inference]
31+
```
32+
33+
## Key Invariants
34+
35+
- Written in AffineScript for memory-safe concurrent analysis
36+
- Produces semantic lattice that preserves commit relationships
37+
- Can detect unstable or circular dependencies

0 commit comments

Comments
 (0)