RAD Integration
Batoi AIF includes a RAD integration profile under src/Rad/, forward and rollback migrations, schema validation, and MySQL integration coverage.
Included RAD Adapters
RadArrayContextResolverandRadRunDataContextResolverRadRolePermissionCheckerRadPdoProviderCatalogRadPdoPromptRegistryRadPdoPolicyEngineRadPdoAuditLogRadPdoReviewRepositoryRadPdoQueueAdapterRadAifService,RadApiGatewayService, and code-assist integration services
Persistence Profile
The migration creates RAD application tables for workspace-scoped provider configuration, prompt versions, policy rules, immutable call logs, review requests, and durable queue jobs. Database triggers protect call-log immutability.
Use the migration and its matching rollback from database/migrations/rad/. Run aif-rad-schema-check.php against the configured schema before enabling governed runtime.
Deployment Boundary
RAD installations may load AIF through Composer or place a verified release at rad/vendor/batoi/aif. RAD routes should resolve trusted workspace context and call RadAifService, AifGateway, or AifApi; they should not invoke provider adapters directly.
RAD-specific behavior remains in the RAD profile so the framework core stays portable.