Каркас монорепозитория и Makefile #3
Labels
No labels
area/crm
area/docs
area/eventbus
area/files
area/gateway
area/iam
area/infra
area/kernel
area/meta
area/sdk
area/shell
area/studio
owner/decision
priority
p0
priority
p1
priority
p2
release-blocker
release/hold
release/request
review/rebase
status
blocked
status
changes-requested
status
in-progress
status
needs-decision
status
ready
status
review
status
triage
tdd/exempt
type
bug
type
docs
type
epic
type
feature
type
tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
madarch-labs/BearAP#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Цель
Создать структуру каталогов по ADR-0032 и
Makefile— контракт команд для агентов изtesting.md.Критерии приёмки
kernel/,services/,shell/,sdk/,modules/,tests/, в каждомREADME.mdс назначением по ADR-0032Makefileесть все команды изdocs/process/testing.md#интерфейс-makefile;make helpперечисляет их с описаниемmake up,make down,make test-e2e,make test-load,make tdd-evidence,make fmtзавершаются с кодом ≠ 0 и сообщениемnot implemented: <cmd>make test-unitиmake test-integrationпри отсутствии PHP- и фронт-пакетов завершаются с кодом 0 и сообщениемskip: no packagesmake checkзапускаетtools/validate-contracts.py: на текущих контрактах код 0, на испорченном примере — код ≠ 0 (демонстрация в PR). Подшаги lint/format/typecheck/unit/arch для PHP и фронта пропускаются сskip:, пока нет кода (их подключают #7 и #8)tools/requirements.txt;make checkставит их в локальный venvdocs/process/testing.mdзафиксированы инструменты: PHPStan (level 8), PHP-CS-Fixer (PER-CS 2.0), ESLint (flat config + typescript-eslint), Prettier, Redocly CLI для OpenAPI.editorconfigВне области задачи
Ссылки
docs/process/testing.mdЗависимости
Нет
Заметки
Эпик: #1. Изменение
docs/process/testing.md(раздел инструментов) разрешено владельцем в эпике #1. Набор линтеров одобрен владельцем при нарезке эпика.Перенесено с GitHub (madarch-labs/BearAP#3, автор
bearap-architect).