Skip to content

feat: add unified environment monitoring and improve startup reliability - #2

Merged
Napreth merged 6 commits into
mainfrom
fix/startup-and-settings
Nov 5, 2026
Merged

Napreth merged 6 commits into
mainfrom
fix/startup-and-settings

Conversation

@Napreth

@Napreth Napreth commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Summary

This PR introduces a unified environment monitoring service for all-users installations and improves the existing per-user background monitoring and change-origin tracking.

The unified service runs under LocalSystem, monitors machine and user environment variables through a shared ETW collector, and preserves per-user configuration and history isolation. Machine PATH organization policies are managed through global settings, while user-specific policies remain independent.

Origin tracking now supports reusable, protected scheduled tasks, avoiding repeated UAC prompts during login and background startup. Installer maintenance handles task registration, service updates, and cleanup.

The changes also harden privileged service deployment with ACL validation, reparse-point protection, SHA-256 payload verification, and protected executable storage. Service recovery and health reporting are improved, and multi-session users receive environment change notifications in each active desktop session.

Testing

CI passes on Windows x86, x64, and ARM64.

Windows x64 integration tests additionally cover privileged origin tracking, unified service lifecycle, automatic recovery after service failures, machine PATH organization, and installation cleanup.

New tests verify unsafe deployment rejection, protected file permissions, per-user workspace isolation, and multi-session notification routing.

@Napreth
Napreth merged commit 48f2139 into main Nov 5, 2026
8 of 9 checks passed
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