SERVER-138003ClosedFixed
Investigate apiStrict behavior for extension agg stages
DocumentSourceExtensionOptimizable::registerStage registers every extension stage with AllowedWithApiStrict::kAlways, but the built-in fallback parsers for $search, $vectorSearch and $listSearchIndexes (as of SERVER-137305) all use kNeverInVersion1. This means the same strict query can be accepted/rejected depending on whether the extension is loaded and its feature flag is enabled. One simple approach would be to change the default to kNeverInVersion1 (kInternal for internal extension stages