37aa8627cd
Extensions: - Add $CustomVariableDictionary to AppDeployToolkitExtensions.ps1, declared before the bundled dependency loading. Carries the execution details, the package content locations (including the Files\<Arch> -> Files\All -> Files precedence list), and a region for package specific values. Derived from $adtSession and $adtEnv rather than recomputed. Rules: - Add .skills/rules/PSADT-Powershell-Scripts.md covering deployment script structure, the ObjectSecurity type data workaround, exit code handling, the elevated relaunch, dialog parameter sets, and the 3.x to 4.x mapping - Add .skills/rules/PSADT-Powershell-Functions.md covering the Begin/Process/End structure, the toolkit scaffolding, parameter conventions, and the extensions dependency loading rules - Update .skills/rules/PowershellScripts.md with a related documents table and correct the exit code guidance: [System.Environment]::ExitCode alone is not honored by powershell.exe and must be paired with $Host.SetShouldExit() Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>