Four questions every architecture control has to answer.
Most governance programmes produce rules nobody can enforce. CAS classifies every rule by what it actually does to a change, then resolves it to an enforcement point in the repository — or records the absence as a gap.
Prevent
What must never merge?
Blocking gates that stop a non-conforming change before it reaches the default branch.
- Governance validation fails the build on an unratified structural change
- Managed steering sections are protected from hand edits that would desynchronise them
- Flow declarations must resolve to a real entrypoint before they merge
Detect
What slipped through?
Continuous checks that surface deviation after the fact and raise it as a candidate gap.
- The continuous loop re-runs discovery and compares it to the ratified model
- Declared-but-missing components are raised as candidate gaps with a severity
- Drift between the portal and the repository is measured on every cycle
Generate
What should exist but doesn't?
Artefacts produced from the knowledge layer — views, reports, portals, reference architecture.
- Architecture views, flow catalogues and evaluation reports are written as artefacts
- The governance portal is regenerated and published from the reconciled model
- Reference architecture is emitted from patterns that cleared promotion
Correct
What can be fixed automatically?
Reconciliation that repairs the artefact set and delivers the fix as a reviewable change.
- Steering projection opens a pull request with the corrected managed sections
- Reconciliation retires stale elements while preserving ratified decisions
- Pattern proposals carry the rationale a reviewer needs to accept or reject
Positive evidence, or it does not exist
A model that guesses is worse than no model, because people act on it. CAS will not place an element in the architecture unless it can point at the artefact that proves it: a manifest entry, a workflow file, a configuration key, or a symbol in the abstract syntax tree.
The consequence is a model you can argue with. Every claim on the console opens to a source reference, and anything the repository declares but the evidence does not support becomes a candidate gap rather than a quiet assumption.
Open the evidence ledgerSample trace
Four of the evidence items behind the self-discovery run
- ev-manifest-789138pyproject.toml
Package manifest declaring the cas console entrypoint and runtime dependencies.
- ev-wf-258080.github/workflows/cas-managed-steering-sync.yml
Two-stage projection and managed-section sync workflow.
- ev-wf-41060.github/workflows/cas-portal-publish.yml
Portal pre-processing, MkDocs build and Pages deployment.
- ev-wf-458565.github/workflows/cas-continuous-architecture.yml
Pull-request continuous architecture loop with pattern lifecycle.
Automated Pattern Compliance vs Governed Novelty Promotion
CAS distinguishes between standard architectural reuse and genuine architectural change. When a change reuses established patterns, it passes governance automatically with zero human bottlenecks. When a change introduces genuine architectural novelty, CAS stages containment boundaries, alerts human architects, and promotes the novel pattern into an authoritative ADR.
- 1
Extracted
Signal observed in the codebase
- 2
Proposed
Projected into a reviewable proposal
- 3
Classified
Scope decided: local, project, enterprise
- 4
Promotion
Criteria assessed, awaiting a decision
- 5
Ratified
In the reference architecture