Skip to content

feat(runtime): complete native Auto containment and tool inputs - #425

Closed
lg2m wants to merge 1 commit into
mainfrom
feat/windows-auto-default
Closed

lg2m wants to merge 1 commit into
mainfrom
feat/windows-auto-default

Conversation

@lg2m

@lg2m lg2m commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Runs default Windows Auto commands in the independent durable worker with ordinary AppContainer isolation, a task-only write SID, a private desktop and bounded command/fleet resources. Adds installed Cargo/Node input discovery and private SDK caching. Scoped Git/PR operations in the lower stack keep hosting credentials outside untrusted commands.

Real-worker tests require task writes, deny unrelated writes and private credentials, and check ownership, cancellation and cleanup. Reads Windows already shares with sandboxed apps remain available; the task write restriction still applies.

Validation: the local assembled 6fdab18c passed the full check: 3,226 workspace tests, 221 minimal-provider tests, doctests, strict Clippy, formatting and lint. The subsequent macOS fixes passed 11 focused tests and strict Clippy; native ordinary Auto, goal continuation and task Git passed on the qualification branch. Windows worker boundaries and helper startup pass on Server and ARM; Server npm build/test also pass on its qualification branch.

Not ready to merge. The public head still predates the queued local npm/macOS fixes. Windows Cargo fails during BCrypt initialization; ARM batch startup remains under diagnosis. macOS compiler/SDK and OpenSSL configuration fixes are undergoing native qualification. The installed-tools Codex finding remains open until the production workflow passes.

@lg2m lg2m added the ci:full label Oct 22, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T13:20:32.440493Z 61542d4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m
lg2m force-pushed the feat/windows-auto-default branch from a30e39f to 3048887 Compare October 22, 2026 13:29
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 3048887 to 39010e9 Compare October 22, 2026 13:47
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 39010e9 to 7f0aefc Compare October 22, 2026 13:55
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 7f0aefc to 1e5cc8c Compare October 22, 2026 14:19
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 1e5cc8c to 63c8121 Compare October 22, 2026 15:40
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 63c8121 to 3348283 Compare October 22, 2026 16:06
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 3348283 to 1fa0627 Compare October 22, 2026 16:37
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 1fa0627 to 3e15ffb Compare October 22, 2026 17:01
@lg2m
lg2m added this pull request to stack #430 October 22, 2026 17:02
@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 3e15ffb020

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 3e15ffb to cf28f59 Compare October 22, 2026 17:30
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 03db46dfee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/runtime.rs Resolved
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 03db46d to bc5f7a5 Compare October 23, 2026 18:29
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from bc5f7a5 to 25d9fc3 Compare October 23, 2026 20:31
Base automatically changed from feat/windows-auto-resources to main October 23, 2026 21:37
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 25d9fc3 to 14053ec Compare October 23, 2026 21:37
@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head e90bcbfa2fb24a7eb97374afbb514e84990aac9c. The stack now includes the independently qualified Windows task-home path representation fix; descendant PR patches are unchanged by range-diff. Existing Windows containment/tool-compatibility findings remain open.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: e90bcbfa2f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lg2m
lg2m removed this pull request from stack #435 October 23, 2026 22:45
@lg2m
lg2m added this pull request to stack #442 October 23, 2026 22:45
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from e90bcbf to b777ae3 Compare October 23, 2026 23:09
@lg2m
lg2m removed this pull request from stack #442 October 23, 2026 23:09
@lg2m
lg2m changed the base branch from main to feat/windows-fleet-resources October 23, 2026 23:09
@lg2m
lg2m added this pull request to stack #444 October 23, 2026 23:10
@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head b777ae34edb3cc7025b63ac7bcad397afc35f14b against its current base after the stack reorder. The combined final source tree is unchanged. Existing unresolved Auto findings remain open; restacking does not resolve them.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: b777ae34ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lg2m
lg2m removed this pull request from stack #444 October 24, 2026 04:54
@lg2m
lg2m changed the base branch from feat/windows-fleet-resources to feat/task-git-session October 24, 2026 04:54
@lg2m
lg2m added this pull request to stack #458 October 24, 2026 04:54
@lg2m lg2m changed the title feat(windows): run default Auto through native task containment feat(runtime): complete native Auto containment and tool inputs Oct 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3eb877d56f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/runtime/macos_sdk.rs Resolved
Comment thread src/runtime/windows_auto_tests.rs Resolved
Base automatically changed from feat/task-git-session to main October 24, 2026 13:12
@lg2m
lg2m force-pushed the feat/windows-auto-default branch from 86586fb to 61542d4 Compare October 24, 2026 13:14

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61542d432a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/runtime/unix_sdk.rs
};
let text =
std::str::from_utf8(&bytes).map_err(|_| io::Error::other("rustup path is not UTF-8"))?;
roots(&rustup, Path::new(text.trim_end()), control)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Skip unsupported Rust toolchains instead of aborting startup

When the server's default Rust toolchain is a legitimate linked installation, roots() rejects its symlink and this error propagates through task_workspace_policy() into RuntimeHandler::open_with_commands(), preventing startup even for non-Rust workspaces. rustup toolchain link --help explicitly describes this supported operation as “Create a custom toolchain by symlinking to a directory”; running the extracted discovery helper against such a default reproduced PermissionDenied. Keep unsupported toolchains outside sandbox authority, but skip their discovery rather than making their presence fatal to the entire runtime.

Useful? React with 👍 / 👎.

@lg2m lg2m closed this Oct 25, 2026
@lg2m
lg2m deleted the feat/windows-auto-default branch October 25, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant