pa-10 — Execution
Prerequisites
- Go ≥ 1.25 (stdlib only, offline).
One-shot
cd pa-10-architecture-in-practice && bash scripts/verify.sh
Per-language workflow (Go)
cd pa-10-architecture-in-practice/src/go
go test -race -count=1 ./... # no-cycles, layering, fan-out, aggregate gate
go run ./cmd/fitsim
What's here
| Path | What |
|---|---|
fitness/fitness.go | architecture fitness functions: NoCycles, Layering, MaxFanOut + Evaluate (CI gate) |
cmd/fitsim | runs the rules over an unhealthy vs healthy architecture |
steps/01-adr-template.md | the ADR (decision record) template |
steps/02-design-review-checklist.md | the design-review checklist (also a systems-design-interview spine) |
See GUIDE.md for the deep dive and the "architect as gardener" framing.