Can I have net-metering with an ATS between utility and batteries and diverse power inputs (solar, wind, generator) behind the batteries?
As to your direct questions,

Is this a valid and code-compliant configuration for safe, utility compliant net metering ?
Have I described anything (other than the car hookup) that doesn't work the way I think it will ?
There are 4 way manual transfer switches, right ?

These reflect a &quot;skill gap&quot; which is rather enormous, and far too large to address in StackExchange's Q&amp;A format.
Is the idea even feasible? Is it worth the effort to skill up? YES.
What you want to do really isn't a problem, not even with common off-the-shelf solar equipment that's been around for over a decade.
In particular, the &quot;blending power&quot; objective is much easier than you think, and doesn't even require switches.  The key is to do the blending on the DC side.  DC does not require synchronization the way AC does, and multiple battery chargers can act on the same battery bank simultaneously, &quot;replenishing on the fly&quot; power being drawn out of the system.  This is how a gas car's alternator/battery already work.
My concern, however, is that I'm already going over your head.  To build such a custom system, you simply need the prerequisite knowledge; there is no substitute.
Mind you, if you go with commercial off-the-shelf systems, they do some very complicated stuff with interlocks and transfer switches, because they are after the cost savings of using the same inverter for both grid-tie and grid-down operation.  However the way I see it, this greatly complicates the system, and requires a much higher level of certification; I think a &quot;2-inverter&quot; system is just a lot simpler.
Consider a simple grid-tie system.  It looks like this.

Of course in a commercial installation, the &quot;controller&quot; and &quot;grid tie inverter&quot; are simply sold as one unit.  And the one unit doesn't provide for &quot;battery&quot; at all; it's all dump.
&quot;Dump&quot; is a terminal set on better charge controllers.  If the solar system is generating more power than the battery + loads can use, it is routed to &quot;dump&quot;.   A simple grid-tied system has no battery or DC loads, so it's all dump.
Grid-tie inverters are Very Special and Very Weird and their characteristics are quite different than off-grid inverters.  For instance, a Grid-Tie inverter actively senses for presence of the power grid, and will shut down if it's not present - that's a UL 1741 requirement.  They cannot be used for off-grid inverters.
I drew them separate for reasons which will become obvious.
Add a battery, DC inverter, and subpanel
Now, let's add a battery, and a DC side inverter, and a critical-loads subpanel (which can really be an every-load subpanel if you really want that).

What do we have here?  We now have a battery system.  It is using a second inverter, the &quot;Off-Grid Inverter&quot;, to make AC to drive the loads in the subpanel.  The subpanel has a $50 interlock, which can be thrown over to either &quot;utility&quot; or &quot;inverter&quot;.
Note that the charge controller, battery and off-grid inverter are simply tied together -- there's no fancy splitter needed here because it's a DC system.
Windmill too
OK, for a windmill, you just add another charge controller.  You need a charge controller to keep the windmill from overcharging the battery, and this also connects hotshot into the battery.  Since it's DC power, this works.
Now the wind charge controller may have its own &quot;Dump&quot; terminals. You can feed that into a second UL 1741 Grid-Tie inverter, and also feed that into the main panel.
Or for more money, you could select a specialty charge controller that has inputs for solar AND wind.
Subpanel switched to solar. Grid still up.
Now, I'd like you to consider what happens when the subpanel is thrown into &quot;off-grid&quot; mode, yet the grid is actually up.   The connection between &quot;main panel&quot; and &quot;ATS/interlock&quot; is effectively out of the picture. Here's the stripped-down diagram.

In this switch position, the subpanel loads are running off battery/inverter.  The charge controller powers loads and recharges battery, but what happens if the solar produces more than the battery and loads need?  Well, look at that. The waste energy goes out the &quot;dump&quot; terminals to the grid-tie inverter, and sells it to the power company since the grid is up.  Isn't that nice.
And this just happens automagically, you don't need to throw any switches.
Oh, and I added a battery charger so that in theory, you could run the subpanel 24x7 at all times off battery, with the AC power grid &quot;making up&quot; any power the solar or wind could not supply.  The battery charger would have to be a pretty big one, as it would be carrying all the subpanel loads while also charging the battery.   This would be a dual-conversion at all times - AC to DC back to AC -- which is less efficient than a transfer switch -- however, this is exactly what &quot;online&quot; UPS's do all the time.   Note that this setup does everything you are talking about, but does not have any switches at all.
I'm not suggesting you actually eliminate the ATS/interlock - a manual interlock is a measly $100 and that's cheap insurance.  I just wanted to illustrate how well the system could work if you do.
Let's support a generator and EV convenience outlet

Here, we reroute the battery charger so it is powered from an inlet such as your CS6375.   Now you can plug a generator straight into the battery charger. &quot;That was easy&quot;
Oh, and you have an Electric Vehicle?  Many EV's include a fairly hefty 120V or even 240V convenience outlet for use camping, or during power outages. Don't hack your EV, get one that has that feature.  (heck, the 2004 Chevy C1500 Silverado hybrid yes, that really existed had that feature, giving 3600 watts (120V@30A).  It's simply shameless that any EV ships without this feature, since it's so easy!)
Oh, the grid is up, you say, and you'd like to top up batteries with grid power? Well lookit that. Right next to the inlet is an outlet that is on utility power.  You simply have a 3 foot extension cord that jumpers inlet to outlet. &quot;That was easy&quot;
Let's power DCable loads on DC.
A lot of loads in your house are perfectly capable of running on DC power. Lighting, TVs, computers, most Internet modems and routers, and any cell phone charger (in the USA, many more shops sell 12V USB chargers than sell eggs).
So I suggest putting any household load on DC that can be put on DC, especially if your main battery (or an auxiliary battery) is 12 volts. As it happens, certain service panels marketed to consumers and sold at Home Depot are certified for DC - I'm talking about Square D's &quot;QO&quot; family.  So here I'm revising the drawing a bit more to show that.  (and I rolled back the &quot;power inlet&quot; just because my stock drawing doesn't have that, but you can still do it).

So you see on the bottom left, you have a DC master bus that is rather busy.  It's got 3 power inputs: battery charger; solar charge controller and wind charge controller (not pictured), all just bussed together.  That is possible because it's DC.  You can't just merge AC sources like this; that takes insane complexity (which UL 1741 grid-tie inverters do have).  But with DC it's fine.   Then you have the battery buffering while you have 2 outputs: the DC load panel and the off-grid inverter.