docs(plans): supplier integration plan 1/5 — Foundation (schema + models + validators)

12 tasks + 3 verification gates covering:
- 5 migrations: extend projects, supplier_projects, pricing_tiers, lead_charges, supplier_sync_log
- 4 new Eloquent models + factories + Pest unit tests
- Project model extension with signal_type/sms_*/supplier_b1/b2/b3 relations
- 3 signal validators (Domain, Phone, SmsSender) with edge-case datasets
- SupplierProjectResolver service with B1+SMS guard
- Comprehensive verification gate: Larastan + squawk + pgFormatter + cspell + markdownlint + cycle-check + code-review subagent

Spec: docs/superpowers/specs/2026-05-10-supplier-integration-design.md §2, §7

cspell-words: +vashinvestor
.gitleaks.toml allowlist: +test phones for validator datasets

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Дмитрий
2026-05-10 12:10:04 +03:00
parent 3f463f48ea
commit 7ab7cf51cb
3 changed files with 2522 additions and 0 deletions
+6
View File
@@ -131,6 +131,12 @@ regexes = [
'''(?:\+?7|8)\s?\(?XXX\)?\s?XXX[\s\-]?XX[\s\-]?XX''',
'''79000000000''',
'''79991234567''',
'''74955551212''',
'''89991234567''',
'''799912345678''',
'''7999123456''',
'''\+79991234567''',
'''7 999 123 45 67''',
# 12-значные номера-маски для скриншотов и тестов
'''[78]\(?[*X]{3}\)?\s?[*X]{3}[\s\-]?[*X]{2}[\s\-]?[*X0-9]{2}'''
]
+1
View File
@@ -896,3 +896,4 @@ symfony
логинится
encrypter
PHPSESSID
vashinvestor
File diff suppressed because it is too large Load Diff