Note 01 · Concepts

The 5C Model: Connecting Intent to Implementation

Capability represents the value dimension; Context, Container, Component, and Code represent the structural dimension—held together by Foundations and Changes.

3 min read (552 words) Applies to SpecPlane 0.1.0a6 · Schema v9.2.1 Published 2026-12-05

Traditional C4 diagrams explain how a software system is structured, from system context down to code, but leave out why a slice exists and what user promise it must keep. SpecPlane's 5C Model (Schema v9.2.1) adds Capability alongside C4's four structural layers, anchored by two cross-cutting layers: Foundations and Changes.

The SpecPlane 5C model: Capability as the value dimension above Context/System, Container, Component, and Code, flanked by Foundations and Changes cross-cutting layers CAPABILITY Product intent & value FOUNDATIONS Context / System Container Component Code CHANGES Intent · Structure · Evolution
The SpecPlane 5C model and its cross-cutting layers. Capability represents the value dimension spanning structures rather than a single level above C4.

Two dimensions, not a five-tier stack

A common misconception is to treat Capability as "Level 0" stacked hierarchically above C4. It is not. Capability is the value dimension (product intent, user outcomes, and behavioral promises), whereas Context, Container, Component, and Code form the structural dimension (how the system is built and deployed).

In practice, value cuts across structure. A single capability routinely spans multiple containers and components—for example, user onboarding touching an API gateway, a billing service, and a notification worker. SpecPlane models this many-to-many relationship explicitly through bidirectional links (implements on containers/components paired with realized_by on capabilities), validated by check_sync and validate.

The five Cs

Capability — Why and What

Capabilities capture product intent: responsibilities, user journeys (flows), business value, and non-negotiable constraints. In examples/tiny-saas, capability.authentication states the security promise "Password reset links expire in 60 minutes" and declares realized_by links to container.api and component.password_reset. Phase 1 teams can author capabilities before deciding on any architecture.

Context (System) — The Big Picture

The System layer (system.<name>) maps actors, external systems, system boundaries, and the capabilities the product delivers as a whole. In examples/tiny-saas, system.tiny_saas binds capability.authentication, capability.billing, and capability.notifications to container.api.

Container — Architectural Structure

Containers (container.<name>) represent independently deployable or runnable units—APIs, web apps, databases, or background workers. Each container records which capabilities it implements, which foundations it uses, and which components it contains.

Component — Functional Building Blocks

Components (component.<name>) organize cohesive responsibilities inside a container, along with internal and external dependencies (dependencies.internal ↔ depended_on_by). When an engineer runs blast on capability.authentication, SpecPlane traverses these structural links to reveal component.password_reset and component.notifier without exploding across unrelated parts of the repo.

Code — Implementation

In Schema v9.2.1, Code stays real software in Git. SpecPlane deliberately does not mirror source files into YAML, nor does the kernel parse ASTs. Instead, Code connects to Component specs in three lightweight ways:

  • Optional implementation.realization.paths on a component (such as src/auth.py on component.password_reset), audited against the repository with specplane reconcile and used by check_sync to map Git diffs to spec IDs.
  • Component constraints and non-duplication boundaries read during retrieve.
  • Automated checks already bound in a change's success.yaml and executed by run.

Cross-cutting layers: Foundations and Changes

Two cross-cutting layers keep the five Cs coherent over time:

  • Foundations (foundation.<name>) hold shared invariants, security baselines, and architecture rules (such as foundation.security_baseline) that multiple containers and components use. Because foundations are terminal nodes during blast traversal, shared rules stay visible without flooding every impact graph with unrelated dependents.
  • Changes (specs/changes/<slug>/) stage proposed deltas to capabilities, containers, components, and verification criteria (success.yaml) alongside pull requests. Live YAML remains the source of truth for shipped behavior until promote merges an approved change packet.

Together, the 5C graph gives humans and AI coding agents one shared map from user promise to implementation—without turning specifications into a second copy of the codebase.

See SpecPlane on a real workspace: inspect live capabilities, blast graphs, and staged changes without installing anything.