Logo
NeoArc Studio

Baselines and Architectural Governance

File-based baselines provide defence-grade reproducibility with SHA-256 integrity hashing. Unlike Git tags, baselines survive squash merges and rebases, go through PR review, and work in air-gapped environments.

A baseline is a named, immutable reference point that captures the exact state of your architecture at a governance-approved moment. NeoArc stores baselines as JSON files in a .neoarc-baselines/ directory within your workspace, making them version-controlled artefacts that go through the same review process as any other architectural resource.

What a Baseline Contains

FieldPurpose
VersionSemantic version label (e.g. v1.0.0)
DescriptionHuman-readable description of this baseline
Approval IDExternal governance reference (e.g. ARB-2024-042)
Governance LinksLinks to documentation pages or ADRs
Created ByAuthor identity from Git configuration
Commit SHAFull 40-character commit hash pinned at creation time
Approved ResourcesOptional list of APIs and schemas explicitly approved in this baseline, each with type, ID, name, and version
Resource SummaryCounts of entities, schemas, endpoints, diagrams, pages
Integrity HashSHA-256 computed over all fields in canonical JSON order

Why Not Git Tags?

Git tags are the traditional way to mark release points, but they have significant limitations for architecture governance:

ConcernGit TagsNeoArc Baselines
PermissionsRequire special Git permissions to create/pushRegular files reviewed in PRs, no special permissions
Squash mergesTags on squashed commits become orphanedFiles survive any merge strategy
RebasesTags point to now-invalid commit hashesBaselines remain valid after rebase
Review processTags bypass code review entirelyBaselines go through PR review like any artefact
Air-gapped environmentsRequire push access to shareFiles exist locally, no network needed
Tamper detectionNo built-in integrity verificationSHA-256 hash detects any modification
MetadataLimited to a short messageRich metadata: approval ID, governance link, resource summary

Creating a Baseline

Governance Workflow

Architecture Review Board
Create a baseline after ARB approval. Link the baseline to the approval ticket via the governance link field.
Drift Monitoring
The drift dashboard measures how far the current state has moved from any baseline. Visual gauges show drift percentage with colour-coded thresholds.
Audit Trail
Baselines are version-controlled files. The Git log shows who created each baseline, when, and the PR that approved it.
Compliance Evidence
For regulated environments, baselines provide verifiable evidence of architectural state at a specific point in time, with integrity hashing to prove they have not been tampered with.