Skip to content

feat(core): import detached task workspaces without host file aliases - #407

Merged
lg2m merged 5 commits into
feat/auto-kernel-isolationfrom
feat/auto-task-workspace
Oct 22, 2026
Merged

lg2m merged 5 commits into
feat/auto-kernel-isolationfrom
feat/auto-task-workspace

Conversation

@lg2m

@lg2m lg2m commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Import explicitly selected current workspace files into a detached task directory, with fresh file identities and one captured root for built-in tools and native commands. The source checkout stays unchanged. Refuse linked/special files and QQ/Git trust configuration; bound imported bytes and entries, including generated parent directories; remove partial imports without replacing existing destinations. Preserve local edits and executable bits without copying setuid/setgid permissions. No new dependency or workspace CLI/UI.

Verified: six focused importer/tool tests, a real embedding session, and the native Linux private-filesystem command test pass. Disabling the hardlink guard makes its behavioral test fail; restoring it passes. Formatting, lint and workspace Clippy pass. The initial local check stopped on two shifted legacy sleep references, which are corrected; lint rerun passes. Full checks run in CI, including explicit macOS/Windows importer, junction/path and shared-tool coverage.

Sixth layer after #406 in stack 403. This is opt-in: ordinary Auto sessions still select host authority. Input discovery, symlink/internal-hardlink support, protected task Git/config state, credential/egress brokering, output disk/global budgets, verified publication and integration into normal sessions remain. This PR does not qualify macOS/Windows command containment or claim comparative performance.

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

chatgpt-codex-connector Bot commented Oct 21, 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-22T00:17:21.821093Z 78b08d4 Manual request
ℹ️ 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 added this pull request to stack #403 October 21, 2026 23:32
@lg2m

lg2m commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@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: eefa23e078

ℹ️ 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 crates/qq-core/src/task_workspace.rs Resolved
@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 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. Keep it up!

Reviewed commit: 78b08d4640

ℹ️ 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 merged commit 93b6039 into main Oct 22, 2026
8 checks passed
@lg2m
lg2m deleted the feat/auto-task-workspace branch October 22, 2026 01:30
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