Skip to content

Add fail-closed Windows ConPTY containment - #2

Merged
3leapsdave merged 8 commits into
mainfrom
feat/windows-conpty-containment
Aug 30, 2026
Merged

Add fail-closed Windows ConPTY containment#2
3leapsdave merged 8 commits into
mainfrom
feat/windows-conpty-containment

Conversation

@3leapsdave

Copy link
Copy Markdown
Member

Adds the single-create suspended ConPTY transaction, exact Job assignment before resume, and owned recovery paths. Adds Windows descendant and breakaway runtime coverage and pins sysprims commit 7e5cc03847029dbd316d9f8c0887997bf64a247c.

Verification:

  • make check-candidate
  • make test-owned-pty-empty
  • Windows x64 and ARM64 all-target compilation

3leapsdave and others added 8 commits August 29, 2026 18:45
Changes:
- Create ConPTY children suspended exactly once
- Assign and verify the exact process in a prepared Job
- Transfer sole process and Job authority before one resume
- Resolve assignment, adoption, and resume-gate failures
- Add Windows sentinel and ownership coverage
- Add exact-candidate cross-platform verification

Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Changes:
- Exercise an immediate child and grandchild under the owned Job
- Verify Job termination resolves both descendant handles
- Attempt and reject CREATE_BREAKAWAY_FROM_JOB
- Run containment evidence explicitly on Windows CI

Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Changes:
- Pin manifests and lockfile to the reviewed sysprims revision
- Update provenance and candidate verification fixtures

Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Changes:
- Replace shell redirection sentinels with an exact helper process
- Exercise both successful and rejected resume paths against the same helper

Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
Generated by GPT-5 via Codex CLI under supervision of @3leapsdave

Co-Authored-By: GPT-5 <noreply@3leaps.net>
Role: devlead
Committer-of-Record: @3leapsdave
@3leapsdave
3leapsdave merged commit 8bb2981 into main Aug 30, 2026
8 checks passed
@3leapsdave
3leapsdave deleted the feat/windows-conpty-containment branch August 30, 2026 06:46
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