fix: support target-user policies and add screenshots - #33
Conversation
Co-authored-by: GPT 5.6 Luna <noreply@openai.com>
Co-authored-by: GPT 5.6 Luna <noreply@openai.com>
Co-authored-by: GPT 5.6 Luna <noreply@openai.com>
Greptile SummaryThis PR adds
Confidence Score: 5/5Safe to merge. The -UserSid feature is gated by thorough upfront validation, enforces elevation and hive-loaded checks at apply time, and blocks -PolicyPath from authorizing HKEY_USERS restores — all backed by matching behavioral tests. Every changed path — apply, dry-run, and restore — follows the correct guard order: SID format validation → platform/scope/mode guards → elevation check → hive-loaded check → path construction. The deprecated-policy removal is consistent across the policies map, feature arrays, and the new manifest validation check. No registry write can reach an unintended path. No files require special attention. All five substantively changed files (PlatformPolicy.ps1, Backup.ps1, Invoke-BraveDebloat.ps1, config/policies.json, Test-Behavior.ps1) are internally consistent with each other. Important Files Changed
Reviews (2): Last reviewed commit: "fix: address review findings" | Re-trigger Greptile |
Co-authored-by: GPT 5.6 Luna <noreply@openai.com>
Possibly solves #31 with partial solve for #14 . Needs more look by primary maintainer.