import { Module } from '@nestjs/common'; import { MediaModule } from '../media/media.module'; import { CapabilityProviderRegistry } from './capability.registry'; import { CapabilityBroker } from './capability.broker'; /** * The governed egress boundary (P9 slice 1). Exports the broker + registry so the * outbound layer routes all sends through policy + obligations + a pluggable * provider. PLATFORM_PORTS (for the opa gate) comes from the @Global PlatformModule. */ @Module({ imports: [MediaModule], providers: [CapabilityProviderRegistry, CapabilityBroker], exports: [CapabilityBroker, CapabilityProviderRegistry], }) export class CapabilityModule {}