c0py: initial scaffolding for website registry tool
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# C0PY — AGENTS.md
|
||||
|
||||
## Repo-konventioner
|
||||
|
||||
- **Package manager**: pnpm (frozen-lockfile)
|
||||
- **Framework**: Next.js (apps/web), Fastify (apps/api)
|
||||
- **TypeScript**: strict mode, bundler module resolution
|
||||
- **CI**: Gitea Actions — `.gitea/workflows/ci.yml`
|
||||
- **Deploy**: Coolify via `.gitea/workflows/deploy.yml`
|
||||
- **Secrets**: Infisical (`vault.siax.io`) — ALDRIG i repo
|
||||
- **Testing**: vitest (apps/api, packages/*)
|
||||
- **Lint**: eslint flat config
|
||||
- **OTel**: bootstrap vid entry (services/entry.ts), ej FATAL — fail-closed via config
|
||||
- **Tenant**: bound to session via CL0UD, NEVER from client input
|
||||
|
||||
## Kontrakt
|
||||
|
||||
- API-kontrakt: `contracts/openapi.yaml`
|
||||
- Schema-versionshantering: semantisk versionering i `packages/types`
|
||||
|
||||
## Fällor
|
||||
|
||||
- `NEXT_PUBLIC_*` ska ALDRI innehålla hemligheter
|
||||
- Alla writes till AUD0/ST0RE via klientskikt, aldrig direkt
|
||||
- Crawling ska vara throttle-ad och respect robots.txt
|
||||
Reference in New Issue
Block a user