PROJECT SCALE / MEASURED CODE SNAPSHOT

Not a prototype.A governed runtimewith measurable depth.

The product thesis is visible in the architecture. Its magnitude is visible in the evidence.

1,128INDEXED ARTIFACTS
899PY51TSX70SQL32TS71JSON
Python lines of code148,754

Physical lines across 899 Python modules, excluding tests.

HTTP ROUTE HANDLERS53

Backend-owned interface operations across product boundaries.

VERIFICATION SUITE5,615

Backend tests passing in the recorded full-suite run.

RUNTIME SERVERS02

Python authority plus the independent Node/Next experience.

PERSISTENCE VIOLATIONS0

Reported by the canonical persistence-boundary checker.

One product.
Several technical languages.

The mix matters: Cap2Layer is not a single Python service with a thin screen. It combines runtime logic, UX, persistence, machine-readable contracts and deployment tooling.

.py899

Python modules (excluding tests)

.tsx51

React interface artifacts

.sql70

Migrations and policies

.ts32

TypeScript logic

.json71

Contracts and configuration

.js / .mjs5

JavaScript tooling

SERVER 01 / AUTHORITY

Python backend

899 modules · 148,754 physical lines (excluding tests) · 53 routes
  • Domain and application services
  • Hosted MCP and OAuth
  • Persistence ports and adapters
  • Governance, certification and evidence
SERVER 02 / EXPERIENCE

Node / Next UX

51 TSX · 32 TS · 5 JS/MJS artifacts
  • Knowledge Agent conversation
  • Workbench navigation
  • Provider configuration
  • Human authorization surfaces

Scale is not only lines.
It is responsibility covered.

KA

Knowledge Agent

Intent, dialogue, clarification, reasoning, previews and governed apply.

▦

Workbench

Record trees, inspection, lifecycle, composite operations and safety policy.

▶

Execution

Work Items, Steps and cuts. Planning, revisions and recovery; queueing for parallel work is in progress. A lease (in progress) is a reservation that will let parallel cuts avoid colliding.

⇄

Providers

LLM profiles, compatibility, OAuth, vault references and integrations.

◆

Evidence

Certification, execution evidence, verification and code attribution.

{ }

Client boundaries

HTTP, Hosted MCP, OAuth authorization and Node read models.

A measured snapshot.

Snapshot taken 15 November 2026.

Measured on 15 November 2026 across the Cap2Layer backend and its Node/Next application code. Python figures exclude tests; lines of code are physical lines. The project keeps evolving, so these figures are a dated baseline.

FROM MAGNITUDE TO MEANING

Depth matters because governance must survive real complexity.

See how it stays replaceable