You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Warning:** Experimental. Expect breaking changes until release 0.1.0
24
24
25
-
Pacta is an architecture governance tool that helps teams define architectural intent, gain insights through metrics and historical trends, detect architectural drift, and evolve codebases safely without blocking delivery.
25
+
Pacta turns software architecture into versioned, queryable data — so teams can see, compare, and reason about architectural change over time, not just block violations.
26
26
27
27
```bash
28
28
pip install pacta
@@ -45,86 +45,23 @@ Codebases rot. Architecture degrades through small changes no one tracks. Pacta
45
45
46
46
## What it does
47
47
48
-
-**Static analysis** — parses Python AST, builds a system graph
49
-
-**Layer enforcement** — domain can't import from infra, etc.
50
-
-**Snapshots** — version your architecture like code
51
-
-**Baseline mode** — fail only on *new* violations, not legacy debt
52
-
-**History tracking** — view architecture evolution over time
53
-
-**Trend analysis** — track violations, nodes, edges over time with charts
54
-
55
-
## Quick example
56
-
57
-
> This is a minimal example. See the docs for advanced rules, baselines, and history.
58
-
59
-
Define your layers in `architecture.yml`:
60
-
61
-
```yaml
62
-
version: 1
63
-
system:
64
-
id: myapp
65
-
name: My App
66
-
67
-
containers:
68
-
backend:
69
-
code:
70
-
roots: [src]
71
-
layers:
72
-
domain:
73
-
patterns: [src/domain/**]
74
-
infra:
75
-
patterns: [src/infra/**]
76
-
```
48
+
-**Architecture snapshots** — version your architecture like code
49
+
-**History & trends** — track how dependencies, coupling, and violations evolve over time
50
+
-**Diffs** — compare architectural states like Git commits
0 commit comments