02 / Architecture

One path from intent to implementation.

Each layer has a job, and each layer passes a shared shape to the next one.

The stack

01

Types + validation

Describe and guard values.

02

Core + registry

Define operations and locate implementations.

03

Lib

Attach business rules to a resource.

04

Adapters

Translate operations to persistence.

05

HTTP + client

Carry operations to applications.

06

Cache + providers

Make remote state useful to a frontend.

The critical boundary

HTTP request → express-router → Operations → @fjell/lib
  hooks + validators + finders → storage adapter
  Sequelize / Firestore / FS / GCS → result
→ API response → client-api / cache / provider → rendered UI

Logging and configuration can observe or support every layer without owning domain rules.