Files
frontend/AGENTS.md
T
ksv741 0d747cc93e
Frontend verify / commits (pull_request) Successful in 39s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 6m7s
docs: pin frontend workflow reference (WealthLedger/main#27)
2026-10-12 10:22:13 +03:00

3.8 KiB
Raw Permalink Blame History

Frontend router

Репозиторий самостоятельный: обязательные инструкции и проверки используют только его файлы и предоставленные публичные контракты. Перед работой прочитай порядок работы, затем объединяй triggers задачи и путей; читай активированные темы до решения. До edits найди/создай подходящую Gitea Issue, проверь AC и ветку; чтение допускается без Issue. Общий маршрут — Engineering Workflow (main#28; после merge — актуальная версия develop).

Решение / сигнал Читать
Устройство/data flow, component/module/slice, owner/FSD, cross-slice imports Architecture
TS types/props/imports/exports, hooks/effects, derived state, memoization, domain literals TypeScript/React
UI/Mantine, form, container/VM/view, state owner, loading/error/recovery UI
Только продуктовая строка / Zod message Строки
Query/mutation, server cache, shared/api, generated types Data
API/network/application errors, codes и сообщения Errors
Login/refresh/logout, token/cookie, session ownership Data/auth + Testing
Request/response field, route/status/error shape, OpenAPI Data/contract
Tests или behavior с regression risk Testing
Storybook/stories/play, theme/tokens/shared UI Storybook, UI; design facts — в разделе Источники
Helper/dependency/новый pattern, refactor/scope Change scope, для пакета — Dependencies
Выбор gate, tooling, завершение Проверки

Показ query state не означает изменение fetching. Изменение тестов активирует Testing и без production diff. Перед завершением повтори routing по новым и изменённым файлам. Для Git/release прочитай Git и релизы.

Источники

Вопрос Локальный источник
HTTP request/response/errors OpenAPI snapshot, generated types и Data
Auth/session/refresh/cache Data, source и colocated tests владельца
Money, account/position/income Entity types, API snapshot, formatters и tests соответствующего slice
Theme/tokens, UI-каталог UI, Storybook
Поведение области Source и tests её page/entity/feature; неясное ожидание уточни до изменения
Versions/scripts/check scope Manifest/lockfile, ESLint/TypeScript/dependency configs