5d5eab70fe
docs/architecture/ created with README (boundary rule vs docs/adr + regeneration guide) and c4-context.md — a C4Context diagram of Лидерра: 2 actors, the system, 5 external systems (crm.bp-gr.ru, Unisender Go, Yandex 360, Sentry, JivoSite). Smoke #3 (mermaid-skill): discoverable, authored a valid C4Context block per references/c4.md. Smoke #4 (architecture-patterns): installed + enabled + discoverable (Skills(1), Hooks(0)). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB
C4 — System Context: Лидерра
The Level-1 (System Context) view: who uses Лидерра and which external systems
it talks to. Authored with the mermaid skill; see README for the
boundary rule and ADR-000.
C4Context
title Лидерра — System Context
Person(manager, "Менеджер арендатора", "Работает со сделками, лидами и отчётами")
Person(saasAdmin, "SaaS-администратор", "Биллинг, инциденты, управление арендаторами")
System(liderra, "Лидерра CRM", "Multi-tenant CRM: лиды, сделки, биллинг, отчёты")
System_Ext(supplier, "crm.bp-gr.ru", "Поставщик лидов — источники B1/B2/B3")
System_Ext(unisender, "Unisender Go", "SMTP-relay для исходящих писем")
System_Ext(yandex360, "Yandex 360", "SSO администраторов")
System_Ext(sentry, "Sentry", "Сбор runtime-ошибок, self-hosted в Yandex Cloud")
System_Ext(jivosite, "JivoSite", "Виджет онлайн-поддержки")
Rel(manager, liderra, "Использует", "HTTPS")
Rel(saasAdmin, liderra, "Администрирует", "HTTPS")
Rel(liderra, supplier, "Импорт лидов и приём webhook", "HTTPS")
Rel(liderra, unisender, "Отправка уведомлений", "SMTP")
Rel(saasAdmin, yandex360, "Аутентификация", "OAuth")
Rel(liderra, sentry, "Отправка ошибок", "HTTPS")
Rel(manager, jivosite, "Обращается в поддержку", "Widget")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="1")
Notes
- This is the Context level only. Container (
C4Container) and Component (C4Component) views can be added as separate files when a subsystem needs one — keep one view per file. - Stack and deployment facts behind this diagram:
CLAUDE.md§2.