SERVER-137746ClosedFixed

Add isInternalOperation origin flag and propagate it between nodes

_Why:_ $queryStats cannot tell server\-owned work \(resharding, chunk migration\) from user operations, so internal shapes show up in Query Shape Insights. Inferring this from session or client state gives false positives, for example user commands that mongos forwards to shards. An explicit origin bit, set where server\-owned work starts, is precise. Its only failure mode is a false negative, which a one\-line stamp fixes. _What:_ \* An {{isInternalOperation}} opCtx decoration. \* Egress forwa

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.