# iTzAYDiN-BOT V7 Architect

V7 changes the project from a feature-heavy monolith into a compatibility-safe modular control plane.

## New architecture
- V7 Kernel booted from `config.php`
- Module Registry with independent module state
- Event Bus and persistent event timeline
- Feature Flags with percentage rollout and kill switches
- No-code Automation Studio: event → conditions → actions + cooldown
- Customer 360: account signals, tags, admin tasks, invoice/service history
- Observability: metrics, event timeline and audit trail
- Core provisioning and Telegram transport instrumentation

## Compatibility
Existing backend adapters, payments, database contracts, Telegram menus, Mini App and customer records are preserved. V7 adds new `itz_v7_*` tables rather than rewriting old tables.

## Safe automation actions
Automation does not execute arbitrary PHP/shell code. Built-in actions are limited to operational primitives such as tags, admin tasks, audit records and admin Telegram notifications.
