Skip to content

Permissive Learning Mode 6/6 Testing #589

Open
lilybarkley-msft wants to merge 1 commit into
user/lilybarkley/plm-pr5-ui-policyfrom
user/lilybarkley/plm-pr6-testing
Open

Permissive Learning Mode 6/6 Testing #589
lilybarkley-msft wants to merge 1 commit into
user/lilybarkley/plm-pr5-ui-policyfrom
user/lilybarkley/plm-pr6-testing

Conversation

@lilybarkley-msft

@lilybarkley-msft lilybarkley-msft commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

📖 Description

PR 6 of 6 — stacked on PR5. Final PR; restores the testing artifacts that were temporarily held back for readability of PRs 1–5.

  • src/testing/plm_tester — Windows-only workload binary (plmtester) that deliberately trips the FS, capability, and UI access-denied paths PLM is meant to capture:
    • Filesystem reads/writes outside the allowed roots
    • Capability-gated accesses (screenshot, etc.)
    • UI violations: clipboard, display settings, system parameters, find-window, child-window injection
    • Re-added to the Rust workspace members in src/Cargo.toml.
  • tests/configs/plm_configs/ — input configs that pair with plmtester invocations, one per access category (filesystem promoted / not promoted / readonly / readwrite, capabilities, UI categories).
  • tests/scripts/run_plm_test.ps1 — end-to-end driver: runs wxc-exec --audit against each plm_configs/*.json workload, captures the resulting Adjusted_*.json, and asserts the expected fields were added (or correctly withheld for the deny-listed cases).

After this PR merges, the tree on top of main is bit-identical to the pre-split source branch.

🔗 References

  • Base: PR5 (user/lilybarkley/plm-pr5-ui-policy)
  • Closes out the 6-PR split (PR1 → PR6). Once all six land in order, the merged tree equals the original branch tip.

🔍 Validation

  • cargo build -p plm -p plmtester --target x86_64-pc-windows-msvc — clean
  • cargo fmt --all -- --check — clean
  • cargo clippy -p plm -p plmtester --target x86_64-pc-windows-msvc --all-targets -- -D warnings — clean
  • cargo test -p plm --target x86_64-pc-windows-msvc126 passed
  • git diff <pr6-tip> <original-branch-tip>empty (verified locally; the six commits in order reproduce the original tree exactly).
  • tests/scripts/run_plm_test.ps1 end-to-end driver included for manual + CI execution.

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task

GitHub Actions runs the PR validation build automatically. The ADO pipeline
(MXC-PR-Build) is the official build pipeline that signs the binaries; it
runs on merge to main and nightly, and Microsoft reviewers can trigger it
on a PR with /azp run. See docs/pull-requests.md.

Microsoft Reviewers: Open in CodeFlow

@lilybarkley-msft
lilybarkley-msft requested a review from a team as a code owner June 27, 2026 01:38
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from eed90b0 to f482bb7 Compare June 30, 2026 23:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 9fdaf58 to d74eccd Compare June 30, 2026 23:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from f482bb7 to 2299ea7 Compare July 2, 2026 01:20
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from d74eccd to 76ff468 Compare July 2, 2026 01:20
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 2299ea7 to e637393 Compare July 2, 2026 01:53
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 76ff468 to 8268b16 Compare July 2, 2026 01:53
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 1946239 to 430bc30 Compare July 7, 2026 01:51
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 9bf8719 to 664ce34 Compare July 7, 2026 01:51
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 430bc30 to d800794 Compare July 7, 2026 21:37
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 664ce34 to 1fe8582 Compare July 7, 2026 21:37
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from d800794 to 018e135 Compare July 7, 2026 23:36
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 1fe8582 to 8883657 Compare July 7, 2026 23:36
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 018e135 to c1a6c01 Compare July 8, 2026 01:24
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch 3 times, most recently from d99bb71 to e6c020d Compare July 8, 2026 02:25
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch 2 times, most recently from 14623fc to 9269055 Compare July 8, 2026 19:33
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch 2 times, most recently from 7152ea3 to 308839d Compare July 10, 2026 22:57
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch 2 times, most recently from b6a7c75 to 7fbfff5 Compare July 16, 2026 16:41
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 308839d to f114aa3 Compare July 16, 2026 16:41
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 7fbfff5 to 8f1bafe Compare July 16, 2026 19:29
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from f114aa3 to d3c587c Compare July 16, 2026 19:29
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 8f1bafe to 31d8a75 Compare July 16, 2026 20:17
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from d3c587c to 6b86375 Compare July 16, 2026 20:17
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 31d8a75 to ceb3123 Compare July 16, 2026 20:38
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 6b86375 to a05618d Compare July 16, 2026 20:38
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from ceb3123 to 76f7f4a Compare July 16, 2026 21:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from a05618d to 486b3d6 Compare July 16, 2026 21:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 76f7f4a to be0beab Compare July 16, 2026 22:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 486b3d6 to d8ec2d4 Compare July 16, 2026 22:08
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 0951d69 to 3742c67 Compare July 23, 2026 00:32
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 0768b8e to 0a7b3d7 Compare July 23, 2026 00:32
Restacked onto pr5 after PR #585 squash-merge. Single commit carrying
pr6's net delta over pr5.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cd418a6e-8ffc-4432-b6c0-429739f504bb
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr5-ui-policy branch from 3742c67 to e87f70a Compare July 23, 2026 23:22
@lilybarkley-msft
lilybarkley-msft force-pushed the user/lilybarkley/plm-pr6-testing branch from 0a7b3d7 to fd24a93 Compare July 23, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant