Skip to content

feat: support Windows process entry points - #38

Merged
SKTT1Ryze merged 8 commits into
mainfrom
codex/windows-process-entry-points
Oct 22, 2026
Merged

SKTT1Ryze merged 8 commits into
mainfrom
codex/windows-process-entry-points

Conversation

@SKTT1Ryze

Copy link
Copy Markdown
Collaborator
  • Read native Windows executable and argv metadata for WFP TLS policy matching.
  • Recognize WorkBuddyAI.exe and packaged daemon and extensionless CLI entries.
  • Add native/parser tests, a WFP TLS probe, and configuration documentation.
  • Validate 492 Windows tests, strict Clippy, formatting, and local WFP probes.

Signed-off-by: chunchi.che@lexmount.com

@SKTT1Ryze
SKTT1Ryze marked this pull request as draft October 22, 2026 09:57
SKTT1Ryze and others added 8 commits October 22, 2026 17:58
- Read native Windows executable and argv metadata for WFP TLS policy matching.
- Recognize WorkBuddyAI.exe and packaged daemon and extensionless CLI entries.
- Add native/parser tests, a WFP TLS probe, and configuration documentation.
- Validate 492 Windows tests, strict Clippy, formatting, and local WFP probes.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Recognize WorkBuddy executable aliases directly in NodeEntryPoint and explain their Node execution mode.
- Remove PackagedElectronEntryPoint and move its regression tests into the Node resolver.
- Validate 126 broker tests, strict Clippy, and formatting.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Move CommandBuffer into the Windows native process-query implementation.
- Use a transparent MaybeUninit wrapper with stable aligned heap storage and explicit unsafe initialization conversion.
- Preserve bounds validation and test partial initialization, invalid ranges, and ownership moves.
- Validate 127 broker tests, strict Clippy, and formatting.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Own native command-line storage in Arguments and expose borrowed UTF-16 slices through ArgumentsIter.
- Decode arguments directly without intermediate per-argument copies.
- Cover storage ownership, repeated iteration, unpaired surrogates, and argument count limits.
- Validate 130 broker tests, strict Clippy, formatting, and a compile-fail lifetime check.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Remove the arbitrary 4096-argument limit and construct Arguments directly from the native count.
- Update documentation and verify that 4097 arguments are accepted.
- Validate 130 broker tests, strict Clippy, and formatting.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Replace manual module lookup and function-pointer conversion with a typed dlopen Container.
- Initialize the process API once with LazyLock and retain its library for subsequent queries.
- Add Windows-only dlopen dependencies and remove the unused LibraryLoader feature.
- Validate 130 broker tests, including native process queries, strict Clippy, and formatting.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Consume the UTF-16 Vec directly and append its NUL terminator without cloning the input.
- Update argument readers and tests to transfer buffer ownership.
- Replace the global process API cache with a local dlopen Container for each query.
- Validate 130 broker tests, strict Clippy, and formatting.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
- Verify argument storage survives consumed input vectors with either capacity.
- Exercise command buffers at allocation boundaries and maximum UTF-16 length.
- Run 512 concurrent native queries through repeated library and handle drops.

Validation: 500 regression tests passed, along with Windows WFP end-to-end
checks for daemon passthrough, CLI interception, and unmatched-entry passthrough.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-6 <noreply@anthropic.com>
@SKTT1Ryze
SKTT1Ryze marked this pull request as ready for review October 22, 2026 09:59
@SKTT1Ryze
SKTT1Ryze force-pushed the codex/windows-process-entry-points branch from 64708e9 to d1c9786 Compare October 22, 2026 10:00
@SKTT1Ryze
SKTT1Ryze merged commit 13e1d26 into main Oct 22, 2026
64 of 76 checks passed
@SKTT1Ryze
SKTT1Ryze deleted the codex/windows-process-entry-points branch October 22, 2026 10:52
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