Skip to content

Commit a65b641

Browse files
committed
Clarify Caddy ownership in agent rules
1 parent 64e3c67 commit a65b641

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ Prefer the established Pior Labs paved road:
2121
- GitHub Actions
2222
- `@pior-labs/design-system`
2323
- `service-auth` for OAuth/OIDC
24-
- Caddy/platform networking managed outside this repository
24+
- platform Caddy for production routing and TLS
25+
- a minimal Caddy runtime inside the web container for static SPA serving only
2526

26-
Do not add a second authentication system, reverse proxy, database server, or shared design system without a concrete requirement.
27+
`platform-deploy` owns production reverse-proxy behavior. The app web container must not proxy `/api/*`; platform Caddy routes API traffic directly to the app API container and all other traffic to the app web container.
28+
29+
Do not add a second authentication system, app-level reverse proxy, database server, or shared design system without a concrete requirement.
2730

2831
## Repository ownership
2932

@@ -32,10 +35,11 @@ This repository owns:
3235
- product code
3336
- app-specific database schema and migrations
3437
- app-specific containers
38+
- the static web-server configuration used only to serve the compiled SPA
3539
- CI and app deployment workflow
3640
- application documentation
3741

38-
`platform-deploy` owns production infrastructure, Caddy routing, shared Docker networks, database/role provisioning, and server-managed database credentials.
42+
`platform-deploy` owns production infrastructure, Caddy reverse-proxy routing, shared Docker networks, database/role provisioning, and server-managed database credentials.
3943

4044
`service-auth` owns user authentication and trusted OAuth client registration.
4145

0 commit comments

Comments
 (0)