HF RL Explorer

Feature Request: Redesign custom directives as composable middleware

Feature Request: Redesign custom directives as composable middleware: a task in LegoFlow-SWE (Harbor dataset). The ImplementsDirective method must return the directive name exactly as declared in the GraphQL schema (e.g., "hasRole" ). This connects the implementation to its schema definition.

The task

The `ImplementsDirective` method must return the directive name exactly as declared in the GraphQL schema (e.g., `"hasRole"`). This connects the implementation to its schema definition.

Part of Lego-X/LegoFlow-SWE.