Permissive Learning Mode 5/6 UI Policy#588
Open
lilybarkley-msft wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 Description
PR 5 of 6 — stacked on PR4. Adds UI-policy relaxation.
ui_limits+ui_violationmodules: decodeEventID=27payloads (both rendered XML and<ProcessingErrorData><EventPayload>hex form). RecognizesCONVERT_TO_GUIandUI_OPERATIONviolations and tracks theJOB_OBJECT_UILIMIT_*Detailbits.event_parser:ParsedEventgainsevent_data_named(only populated whenevent_id == 27) andprocessing_error_payload.ParseAccumulator/ParseResultgainneed_ui,ui_event_count,ui_events,ui_operation_flags.consumedispatchesEventID=27toui_violation::consume_ui_violation.config:set_ui_subsystem_enabledflipsprocessContainer.uiPolicy.ui.disabletofalse.apply_ui_operation_flagsORs observedJOB_OBJECT_UILIMIT_*bits into the appropriateuiPolicysub-keys (clipboard, system settings, isolation, plus the simple boolean limits).write_detection_summaryextended with UI parameters; new UI section in the printed summary.stop/loghonor the new fields: skip the adjusted-config write only when there's nothing mergeable in any axis, and invokeset_ui_subsystem_enabled/apply_ui_operation_flagswhen the trace reports UI activity.docs/base-process-container/UIPolicy_Schema.md.🔗 References
user/lilybarkley/plm-pr4-cap-extraction)plm_testerworkload binary,tests/configs/plm_configs,run_plm_test.ps1)docs/base-process-container/UIPolicy_Schema.md🔍 Validation
cargo build -p plm --target x86_64-pc-windows-msvc— cleancargo fmt --all -- --check— cleancargo clippy -p plm --target x86_64-pc-windows-msvc --all-targets -- -D warnings— cleancargo test -p plm --target x86_64-pc-windows-msvc— 126 passed (74 new: rendered + processing-error UI variants, both violation categories, everyJOB_OBJECT_UILIMIT_*mask path, mixed-stream integration throughparse_events_from_xml, fullwrite_detection_summaryUI section,should_skip_adjustedpredicate).✅ Checklist
📋 Issue Type
GitHub Actions runs the PR validation build automatically. The ADO pipeline
(
MXC-PR-Build) is the official build pipeline that signs the binaries; itruns on merge to
mainand nightly, and Microsoft reviewers can trigger iton a PR with
/azp run. See docs/pull-requests.md.Microsoft Reviewers: Open in CodeFlow