Files
backend/AGENTS.md
T
ksv741 9810d47e42
Backend security / security (push) Successful in 8s
Backend verify / verify (push) Successful in 2m12s
Conventional commits / commits (pull_request) Successful in 25s
Backend security / security (pull_request) Successful in 7s
Backend verify / verify (pull_request) Successful in 2m3s
docs: refine backend conventions and routing
2026-09-15 05:42:16 +03:00

2.5 KiB
Raw Blame History

Backend router

Общие инструкции — workspace AGENTS. Объединяй triggers задачи, путей и обнаруженных boundaries; читай только нужные темы до решения. Sources выбирает факты/spec/ADR по возникшему вопросу.

Решение / сигнал Читать
Первое знакомство, data flow, общая архитектура Mental model
Module/layer/public API/DI/suffix, owner, перенос responsibility Modules/application
TS vocabulary, domain literals, magic values Types/values
Controller/DTO/validation, route/status/response, OpenAPI HTTP API
Application/domain/HTTP error, exception, code Errors
Repository/Prisma/query, transaction, migration, atomic write Data
Tests или behavior с regression risk Testing
JWT/cookie/session/guard/access, encryption, secrets Security
External client/gateway/SDK/proto, retry/rate limit/cache Integrations
Logging/context/levels, sensitive logs Observability; sensitive data также Security
Изменение публичного wire contract / Swagger metadata HTTP API + HTTP contract source
Helper/dependency/новый pattern, refactor/scope Code health, для пакета — Dependencies
Выбор gate, tooling, завершение Guardrails

Новый endpoint обычно требует HTTP API + Testing; Data/Security добавляются по persistence/access trigger. Auth refresh активирует Security + Data + Testing. Повтори routing по итоговому diff, включая новые файлы. Migration backlog читается только при соответствующем finding через plan.