Hi Burton,
unfortunately the literature has not caught up with innovation. A vermifilter comprising a basket with a cavity between that basket and the wall of the vault does not clog.

Example of basket with cavity
If infiltration through the media is less than hydraulic loading then rather than overflowing, resulting in solids entering the next stage, the wastewater simply flows through the basket wall, which filters and retains the solids. Basket walls do clog lower down with sediment, soap scum and grease etc, so if flow is high then put less media in so the basket walls are higher, to ensure overflow never occurs.
Blackwater shouldn't cause surges, there isn't enough volume from a toilet flush. Greywater includes showers, washing machines etc, so volume is much higher than blackwater. But remember, surge does not occur in the vermifilter. Surge only occurs in the sumps, causing the water to back up from the sump into the vermifilter. That's quite different than what you describe, which isn't surge at all. To reduce hydraulic retention time for a higher hydraulic loading rate, the media in the primary digester should be coarse and shallow (unlike the designs in the literature). The primary digester's purpose is only to retain and digest the solids and let the liquid effluent through. It doesn't need to treat the effluent, that occurs in the secondary stage, so media depth is not required.
If the surface area of the primary digester is insufficient, the solids will build up on the surface and impede infiltration. In practical terms just make it as wide as you can. I'm waiting for your design.
Cheers
Dean