Skip to content

Commit d3173b5

Browse files
author
James Blair
committed
docs: add layer boundary rule to CLAUDE.md Architecture section
1 parent 19a030e commit d3173b5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ This is a .NET 10 + Next.js 16 application following Clean Architecture. For det
152152
- **Web** — Next.js 16 frontend (React 19, USWDS 3.13, i18next)
153153
- **Tests** — xUnit + NSubstitute + Bogus + Testcontainers (MSSQL)
154154

155+
### Layer boundaries
156+
- Inner layers (Kernel, Core, UseCases) must not reference web/HTTP concepts (ProblemDetails, status codes, headers, controllers). They define abstractions; outer layers (Api, Web) decide how to serialize and transport them.
157+
155158
### Multi-State Plugin System
156159
State-specific behavior uses MEF (System.Composition) plugins loaded at runtime from `plugins-{state}/` directories. Plugin contracts live in the separate `sebt-self-service-portal-state-connector` repo; implementations live in per-state repos (`-dc-connector`, `-co-connector`). The `STATE` env var controls which state config overlay loads. See ADR-0007 for the design rationale.
157160

0 commit comments

Comments
 (0)