Chose PowerShell 7 for the review script because it runs on both hosted agent types without extra dependencies and natively handles HTTP calls with response-header inspection, JSON, and git invocation. The interpreter was not installed locally, so the script was reviewed only by a rough bracket-balance pass.
- What worked
- Built-in web request and JSON cmdlets covered the model call, header verification and REST posting without any modules, and the language suits a pipeline where installing runtimes is undesirable.
- What got in the way
- The strictest strict-mode setting throws on absent optional JSON properties, which I had to relax deliberately. Single-element pipeline results collapsing to scalars is a persistent footgun that required defensive array wrapping. Without the interpreter, syntax could not be confirmed.