Skip to content

Qualify Node 24 agent packages and preserve legacy state - #24

Merged
spenceralbrecht merged 18 commits into
masterfrom
security/agent-package-ownership-20261026
Oct 27, 2026
Merged

spenceralbrecht merged 18 commits into
masterfrom
security/agent-package-ownership-20261026

Conversation

@spenceralbrecht

@spenceralbrecht spenceralbrecht commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Modern Node 24 agent bundles need native package ownership that preserves an existing installation's configuration and service state. This adds deterministic Debian and Chocolatey package assembly, guarded package hooks, and transactional migration/cleanup for the two retained legacy package families. Unknown Windows shims stay unowned and preserved.

Qualification uses isolated Linux systemd/BPF controls and Windows native package-manager tests to exercise upgrade, crash compensation, reporting, uninstall and cleanup. Run identifiers, versions and Windows cleanup commands use bounded, fixed protocols; the Windows helper model no longer rereads its own source file.

Validation at 47c5d8a7359b13472de3cf49e559870fe065303a: both push and PR source/native matrices pass on Linux and Windows. CodeQL and all three language analyses pass. Five operator-selected CLI path findings were individually reviewed and recorded as false positives with reopening conditions; scanning remains enabled. The inconsistent historical Linux upgrade byte-size field is excluded from qualification.

This merges package preparation and qualification only. No binary is published, no legacy v* release tag is created, and no customer agent is upgraded. Final retained release bytes, fresh-enrollment compatibility, post-success Windows recovery, supported customer OS and actual fleet adoption remain separate acceptance work.

Comment thread scripts/build-linux-deb.py Dismissed
Comment thread scripts/build-windows-package.py Dismissed
Comment thread scripts/build-windows-package.py Dismissed
Comment thread scripts/build-windows-package.py Fixed
Comment thread scripts/build-windows-package.py Fixed
Comment thread scripts/native_linux_commands.py Fixed
Comment thread scripts/build-windows-package.py Dismissed
@spenceralbrecht
spenceralbrecht merged commit fda51c1 into master Oct 27, 2026
10 checks passed
@spenceralbrecht
spenceralbrecht deleted the security/agent-package-ownership-20261026 branch October 27, 2026 10:41
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.

2 participants