Имя ГК (company_group_name) в ответах ЮЛ (#67) #68
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/67-le-group-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #67. Bounded-задача: без OpenSpec change и плана.
Что сделано
LegalEntityOut(иLegalEntityDetail): новое полеcompany_group_name: str | nullрядом сcompany_group_id. Это текущее имя ГК (архивной тоже), у монозаёмщикаnull./directories/legal-entities: список, карточка,POST,PATCH,move,withdraw. В/historyего нет.repositories.directories.company_group_names_by_ids. Число SQL-запросов списка от числа строк не зависит (проверено тестом).openspec/specs/directories-api(одно предложение в требовании ЮЛ) и README.Тесты
api/tests/test_api_company_group_name.py: поле есть во всех ответах; послеmoveприходит имя новой ГК, послеwithdraw—null; имя архивной ГК отдаётся; в списке ровно один SELECT поcompany_group.make check-full: exit 0. Unit — 1262 passed; integration — 828 passed; e2e — 1 passed; ruff, mypy, biome, tsc, docker build и dbml-check — чисто.Rulings I made
regional_office.regional_office.directories-apiпоправлена прямо вopenspec/specs/, без change. Задача bounded, но спека — источник истины, и без правки она отставала бы от API.Находки
Нет.
🤖 Generated with Claude Code
https://claude.ai/code/session_012vJkmBGKKqMoEMzvsXG3y2