skip to content
Continuous Architecture System

Scale AI-assisted software delivery without losing architectural control or creating new bottlenecks.. It should actively govern how software evolves.

CAS operationalises institutional knowledge into development workflows to prevent known drift before implementation, detecting unexpected drift across evolving repositories, to focus human judgment where evidence and novelty require it.

No sign-up. The console runs a real discovery flow against three prepared codebases — starting with the CAS platform itself.

48
flows discovered
120
evidence items
8
governance controls
50
candidate gaps
from the latest self-discovery run against ideas-to-life/cas-system
Why architecture governance fails

Three failures, one root cause

Architecture is kept somewhere the code cannot reach. The moment the description and the system live in different places, the description starts losing.

The diagram is a memory

It was accurate on the day it was drawn. Every merge since then has moved the system somewhere the picture cannot follow.

The standard has no teeth

A rule that lives in a wiki page is advice. Nothing in the pipeline can tell you whether today's change obeyed it.

Agents read the stale file

Coding agents follow whatever the repository tells them. Out-of-date steering documents scale bad architecture at machine speed.

The control model

Every rule does one of four jobs

CAS resolves each governance rule to an enforcement point in your repository. If there isn't one, the rule is reported as a gap instead of pretending to be a policy.

The full governance model

Prevent

What must never merge?

Blocking gates that stop a non-conforming change before it reaches the default branch.

Detect

What slipped through?

Continuous checks that surface deviation after the fact and raise it as a candidate gap.

Generate

What should exist but doesn't?

Artefacts produced from the knowledge layer — views, reports, portals, reference architecture.

Correct

What can be fixed automatically?

Reconciliation that repairs the artefact set and delivers the fix as a reviewable change.

The live console

Watch a flow execute, then inspect what it produced

Pick a repository and a flow, start the run, and follow the log as CAS extracts components, reconciles the model and evaluates the control plane. When it finishes, the architecture views, flow catalogue, control plane, pattern board, steering diff and evidence ledger all unlock.

  • Three prepared codebases, including CAS reading its own source
  • Full run log with adjustable speed, or skip straight to results
  • Every claim traced back to the file that proves it
Open the console
cas run discovery-flow --target cas-system
▸ forensic-extractor
│ scanning 214 files · 38 modules
│ container detected: Ideas To Life Cas Core (Python)
│ 20 components resolved from ast symbols
▸ forensic-reconciler
│ 48 flows reconciled across workflows, cli and declarations
50 candidate gaps raised for review
▸ governance-validator
governance score 87 · drift 14
run complete · artefacts written
Why now

Agents write code at a speed documentation cannot survive

A coding agent has no institutional memory. It reads the steering files in the repository and complies with them exactly — including the parts that stopped being true two quarters ago. Keeping those files current stops being hygiene and becomes the control surface for everything the agents build.

That is what steering projection is for: the discovered, ratified architecture is written back into the documents both humans and agents read, in managed sections, through a pull request a person approves.

AGENTS.mdsteering/architecture.mdreference-architecture/ADR index
See a steering pull request
AGENTS.mdcas:managed
<!-- cas:managed:steering-guidance:start -->
## Architecture guardrails
- Knowledge access goes through KnowledgeProvider (ADR-0007).
- Steps never import filesystem helpers directly.
- Flows are declared in the step registry, never inline.
- Target paths derive from TargetProjectContext.
<!-- cas:managed:steering-guidance:end -->
regenerated every cycle · hand edits inside the block are rejected before merge
Access model

What CAS reads, and what never leaves your infrastructure

CAS runs as a job inside your own pipeline, against a checkout you already trust it with. It is a reader of the repository and a writer of managed sections — nothing more.

What it needs

A checkout of the repository and permission to open a pull request. CAS is installed as a workflow, so it inherits the access your CI already has.

  • read access to the working tree
  • contents: write — for managed sections only
  • pull-requests: write — every change is reviewable
  • no production credentials, no runtime access

What it reads

Static evidence only: the files themselves. Nothing is inferred without a path, symbol or workflow behind it.

  • source files parsed to AST symbols
  • package manifests and lockfiles
  • CI workflow definitions
  • steering docs, ADRs and governance rules

What never leaves

Discovery, scoring and projection all run inside your pipeline. The model is written back to your repository, not to a vendor.

  • your source code — never uploaded
  • secrets and environment values — never read
  • the architecture model — stored in your repo
  • the run artefacts — kept with the job

the demo console on this site runs entirely in your browser on a recorded discovery of the CAS repository itself — no repository is contacted

See it read a codebase

The fastest way to understand CAS is to watch it run. Start with the platform discovering its own architecture, gaps included.

On your own repository
  1. 01
    cas discover --target .
    reconstruct the model from evidence
  2. 02
    cas evaluate --rules governance/
    score controls, raise gaps
  3. 03
    cas project --pull-request
    steer the steering files back

runs in GitHub Actions · no code leaves your infrastructure